<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Streetview URL Arcade script for Field Maps in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/streetview-url-arcade-script-for-field-maps/m-p/1551825#M9806</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/667471"&gt;@LindseyGreidanus&lt;/a&gt;&amp;nbsp;, thank you for the tip on refreshing the browser, that worked and a useful workaround until it gets a fix.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Oct 2024 13:55:19 GMT</pubDate>
    <dc:creator>Ramon_de_Leon</dc:creator>
    <dc:date>2024-10-24T13:55:19Z</dc:date>
    <item>
      <title>Streetview URL Arcade script for Field Maps</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/streetview-url-arcade-script-for-field-maps/m-p/1317969#M6760</link>
      <description>&lt;P&gt;We are using an arcade script to generate a Google Streetview link currently on web maps (From the code posted here -&amp;gt;&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-online-questions/create-url-link-to-google-street-view-for-arcgis/td-p/1208815" target="_blank"&gt;https://community.esri.com/t5/arcgis-online-questions/create-url-link-to-google-street-view-for-arcgis/td-p/1208815&lt;/A&gt;) and I am trying to adapt it to work on field maps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, the code works when I open the map on map viewer on desktop, but when I try it out from the Field Maps app, the coordinates part of the link is empty.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone come across this issue or is there some reason the code would fail in a mobile app vs. the desktop setting?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 18:03:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/streetview-url-arcade-script-for-field-maps/m-p/1317969#M6760</guid>
      <dc:creator>LindseyGreidanus</dc:creator>
      <dc:date>2023-08-11T18:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Streetview URL Arcade script for Field Maps</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/streetview-url-arcade-script-for-field-maps/m-p/1318394#M6766</link>
      <description>&lt;P&gt;I gave it a try...&amp;nbsp; the Mapviewer is returning a different wkid than Field Maps.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarkBockenhauer_0-1692030925398.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/78047iD5F29FDE126D4BBD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarkBockenhauer_0-1692030925398.png" alt="MarkBockenhauer_0-1692030925398.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Field Maps returns&lt;/P&gt;&lt;LI-CODE lang="c"&gt;{"x":-17406622.0088,"y":2383466.8805,"spatialReference":{"wkid":3857}}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This inconsistency can be worked around by adding another IF accounting for 3857 line 8&lt;/P&gt;&lt;LI-CODE lang="c"&gt;if (ArcadeSr == 4326) {
  Console("4326 Spatial Reference - No Conversion Necessary");
  Latitude = ArcadeY;
  Longitude = ArcadeX;
} else if (ArcadeSr == 102100) {
  Console("102100 Spatial Reference - Conversion Necessary");
  AuxSphereToLatLon(ArcadeX, ArcadeY);
} else if (ArcadeSr == 3857) {
  Console("102100 Spatial Reference - Conversion Necessary");
  AuxSphereToLatLon(ArcadeX, ArcadeY);
} else {
  Console(ArcadeSr + " Spatial Reference is not supported - currently works with Web Maps where the basemap is in WGS84 (4326) or Web Mercator Auxiliary Sphere 102100");
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 16:40:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/streetview-url-arcade-script-for-field-maps/m-p/1318394#M6766</guid>
      <dc:creator>MarkBockenhauer</dc:creator>
      <dc:date>2023-08-14T16:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Streetview URL Arcade script for Field Maps</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/streetview-url-arcade-script-for-field-maps/m-p/1318401#M6768</link>
      <description>&lt;P&gt;That worked, thanks for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 17:04:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/streetview-url-arcade-script-for-field-maps/m-p/1318401#M6768</guid>
      <dc:creator>LindseyGreidanus</dc:creator>
      <dc:date>2023-08-14T17:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Streetview URL Arcade script for Field Maps</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/streetview-url-arcade-script-for-field-maps/m-p/1551806#M9803</link>
      <description>&lt;P&gt;Just noticed that the StreetView links that I was able to use and worked before on pop-ups does not work anymore and just produce a black screen nowadays.... Google probably changed the correct format for StreetView links? This seems to ne an issue on desktop browsers and not on iOS devices at least when I tested it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ramon_de_Leon_0-1729777284053.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/118007iC940FEDE8E5FA13E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ramon_de_Leon_0-1729777284053.png" alt="Ramon_de_Leon_0-1729777284053.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 13:41:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/streetview-url-arcade-script-for-field-maps/m-p/1551806#M9803</guid>
      <dc:creator>Ramon_de_Leon</dc:creator>
      <dc:date>2024-10-24T13:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Streetview URL Arcade script for Field Maps</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/streetview-url-arcade-script-for-field-maps/m-p/1551816#M9805</link>
      <description>&lt;P&gt;I have noticed that issue to. I do think it is on Googles side as well, but I have found that clicking the url and refreshing on the black screen makes the street view image appear again.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 13:46:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/streetview-url-arcade-script-for-field-maps/m-p/1551816#M9805</guid>
      <dc:creator>LindseyGreidanus</dc:creator>
      <dc:date>2024-10-24T13:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Streetview URL Arcade script for Field Maps</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/streetview-url-arcade-script-for-field-maps/m-p/1551825#M9806</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/667471"&gt;@LindseyGreidanus&lt;/a&gt;&amp;nbsp;, thank you for the tip on refreshing the browser, that worked and a useful workaround until it gets a fix.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 13:55:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/streetview-url-arcade-script-for-field-maps/m-p/1551825#M9806</guid>
      <dc:creator>Ramon_de_Leon</dc:creator>
      <dc:date>2024-10-24T13:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Streetview URL Arcade script for Field Maps</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/streetview-url-arcade-script-for-field-maps/m-p/1551859#M9807</link>
      <description>&lt;P&gt;Got this from&amp;nbsp;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/195450" target="_blank" rel="noopener"&gt;@anonymous55&lt;/A&gt; &amp;nbsp;looks like this format for the link works much better from the previous one that I used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;var url_google = "https://www.google.com/maps/@?api=1&amp;amp;map_action=pano&amp;amp;viewpoint="
var lat = $feature.Latitude
var long = $feature.Longitude
var parm = "&amp;amp;heading=-45&amp;amp;pitch=0&amp;amp;fov=80" 
return Concatenate(url_google + lat +","+ long + parm)

##text: "https://www.google.com/maps/@?api=1&amp;amp;map_action=pano&amp;amp;viewpoint=40.708136,-73.872588&amp;amp;heading=-45&amp;amp;pitch=0&amp;amp;fov=80"
 &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Edit: I have misspoken, it is working weird again. Work for a few times then I back to having the similar issue.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 15:09:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/streetview-url-arcade-script-for-field-maps/m-p/1551859#M9807</guid>
      <dc:creator>Ramon_de_Leon</dc:creator>
      <dc:date>2024-10-24T15:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Streetview URL Arcade script for Field Maps</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/streetview-url-arcade-script-for-field-maps/m-p/1556249#M9890</link>
      <description>&lt;P&gt;Interestingly, this seems to be an issue only for Google Chrome.... if you use the same url in Edge or Firefox, you don't get the black screen and need to refresh....&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 13:03:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/streetview-url-arcade-script-for-field-maps/m-p/1556249#M9890</guid>
      <dc:creator>Ramon_de_Leon</dc:creator>
      <dc:date>2024-11-07T13:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Streetview URL Arcade script for Field Maps</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/streetview-url-arcade-script-for-field-maps/m-p/1556250#M9891</link>
      <description>&lt;P&gt;I am using firefox and get the black screen, and others in my office are using chrome. I have not tried with edge yet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: I tried out edge and it looks like it works without the black screen for me &lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 13:13:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/streetview-url-arcade-script-for-field-maps/m-p/1556250#M9891</guid>
      <dc:creator>LindseyGreidanus</dc:creator>
      <dc:date>2024-11-07T13:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Streetview URL Arcade script for Field Maps</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/streetview-url-arcade-script-for-field-maps/m-p/1556251#M9892</link>
      <description>&lt;P&gt;I have an older version of Firefox&amp;nbsp;Version 112.0, that may be the difference maker...&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 13:15:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/streetview-url-arcade-script-for-field-maps/m-p/1556251#M9892</guid>
      <dc:creator>Ramon_de_Leon</dc:creator>
      <dc:date>2024-11-07T13:15:34Z</dc:date>
    </item>
  </channel>
</rss>

