<?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: Google Street View URL in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763891#M929</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest you test&amp;nbsp;out &lt;A href="https://github.com/Esri/arcade-expressions/blob/master/popup/url-withlocation.md"&gt;this Arcade script&lt;/A&gt;. That being said it looks like it basically does the same. Your script will work, but not with the&amp;nbsp;html you have added. As documented &lt;A href="https://doc.arcgis.com/en/arcgis-online/reference/supported-html.htm"&gt;here&lt;/A&gt;&amp;nbsp;only&amp;nbsp;href, target&amp;nbsp;and style attributes are supported&amp;nbsp;for anchor tags. So I suspect your onclick event is being wiped out programmatically - I'm surprised it even works within the web map! You don't actually need to add any html -&amp;nbsp;provided the link begins with https:// the popup will display a hyperlink.&amp;nbsp;Although it&amp;nbsp;won't open in a new window as with your onclick event - it will open in a new tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 May 2019 02:30:34 GMT</pubDate>
    <dc:creator>MichaelKelly3</dc:creator>
    <dc:date>2019-05-11T02:30:34Z</dc:date>
    <item>
      <title>Google Street View URL</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763883#M921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been working on setting up a google street view hyperlink within my web app and have gotten the example to work within the web map. Unfortunately the Web App does not respond to the HTML correctly is there a way to pass this as a function to fix the issue perhaps?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This&amp;nbsp;works just like what was created here by &lt;SPAN style="color: #0079c1; background-color: #ffffff;"&gt;kreiger1104&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.arcgis.com/home/item.html?id=fd048892966240d882f0e8a2b7abe809"&gt;https://www.arcgis.com/home/item.html?id=fd048892966240d882f0e8a2b7abe809&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It takes the coordinates from the geometry and passes that into the url using the following Arcade expression based off of the great post by&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;&amp;nbsp;located &lt;A _jive_internal="true" href="https://community.esri.com/docs/DOC-10883-crear-un-enlace-a-streetview-en-la-ventana-emergente-con-arcade"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-size: 13px;"&gt;// Converts Longitude from metres to decimal degrees&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #808080; font-size: 13px;"&gt; var originShift = 2.0 * PI * 6378137.0 / 2.0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #808080; font-size: 13px;"&gt; var lon = (Geometry($feature).x / originShift) * 180.0;&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;SPAN style="color: #808080; font-size: 13px;"&gt;// Converts Latitude from metres to decimal degrees &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #808080; font-size: 13px;"&gt; var originShift = 2.0 * PI * 6378137.0 / 2.0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #808080; font-size: 13px;"&gt; var lat = (Geometry($feature).y / originShift) * 180.0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #808080; font-size: 13px;"&gt; lat = 180.0 / PI * (2.0 * Atan( Exp( lat * PI / 180.0)) - PI / 2.0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-size: 13px;"&gt;// Combines the features coordinates to the Google Street View URL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #808080; font-size: 13px;"&gt;var url = Concatenate("http://maps.google.com/?cbll=" ,lat, "," ,lon, "&amp;amp;cbp=12,90,0,0,5&amp;amp;layer=c");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #808080; font-size: 13px;"&gt;url&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To launch this url within a new window the pop up is configured with the following HTML code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-size: 13px;"&gt;&amp;lt;a href="#" onclick="MyWindow=window.open('{expression/expr4}','MyWindow','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,width=400,height=400,left=450,top=525');&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #808080; font-size: 13px;"&gt;return false;"&amp;gt; Click here &amp;lt;/a&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;This works great within the web map but fails within the web app as it only seems to pulls the&amp;nbsp;&lt;SPAN style="color: #808080;"&gt;href="#"&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;and duplicates the apps web page.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN&gt;There are concerns around using google street view within other mapping applications and I still need to confirm that the launching of a new window complies with the terms of service. He is a sample post discussing this from the old open source widgets on Github &lt;A _jive_internal="true" href="https://community.esri.com/thread/195127-hyperlink-to-streetview-widget-or-popup"&gt;here&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;Kind Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;Kevin&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2019 15:51:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763883#M921</guid>
      <dc:creator>KevinThompson</dc:creator>
      <dc:date>2019-05-10T15:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Google Street View URL</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763884#M922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;I still need to confirm that the launching of a new window complies with the terms of service.&lt;/BLOCKQUOTE&gt;&lt;P&gt;It does not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2019 16:04:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763884#M922</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-05-10T16:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Google Street View URL</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763885#M923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank for getting back to me so quickly on this post..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess they have added heavy provisions to their TOS and the below is no longer the case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/447286_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2019 16:22:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763885#M923</guid>
      <dc:creator>KevinThompson</dc:creator>
      <dc:date>2019-05-10T16:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Google Street View URL</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763886#M924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Yes that replys workflow does conform to Google TOS. You have a link that open a Google Map at a certain location and then the user is forced to then click a link that opens a Streetview. But just opening a StreetView in a new window directly from an esri map is a violation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2019 16:26:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763886#M924</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-05-10T16:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Google Street View URL</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763887#M925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Link to a google maps location it is then!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2019 16:43:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763887#M925</guid>
      <dc:creator>KevinThompson</dc:creator>
      <dc:date>2019-05-10T16:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Google Street View URL</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763888#M926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Further to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Google Maps Platform Terms of Service &lt;A href="https://developers.google.com/maps/terms-20180207"&gt;Link&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like even embedding a link would violate section e.&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/447347_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2019 16:54:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763888#M926</guid>
      <dc:creator>KevinThompson</dc:creator>
      <dc:date>2019-05-10T16:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Google Street View URL</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763889#M927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I don't believe that a link&amp;nbsp;would constitute a violation of section e.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2019 16:57:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763889#M927</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-05-10T16:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Google Street View URL</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763890#M928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/351437"&gt;Kevin Thompson&lt;/A&gt;&amp;nbsp;does this require the developer addition of the web app builder to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 May 2019 01:36:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763890#M928</guid>
      <dc:creator>LukeAllen2</dc:creator>
      <dc:date>2019-05-11T01:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Google Street View URL</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763891#M929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest you test&amp;nbsp;out &lt;A href="https://github.com/Esri/arcade-expressions/blob/master/popup/url-withlocation.md"&gt;this Arcade script&lt;/A&gt;. That being said it looks like it basically does the same. Your script will work, but not with the&amp;nbsp;html you have added. As documented &lt;A href="https://doc.arcgis.com/en/arcgis-online/reference/supported-html.htm"&gt;here&lt;/A&gt;&amp;nbsp;only&amp;nbsp;href, target&amp;nbsp;and style attributes are supported&amp;nbsp;for anchor tags. So I suspect your onclick event is being wiped out programmatically - I'm surprised it even works within the web map! You don't actually need to add any html -&amp;nbsp;provided the link begins with https:// the popup will display a hyperlink.&amp;nbsp;Although it&amp;nbsp;won't open in a new window as with your onclick event - it will open in a new tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 May 2019 02:30:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763891#M929</guid>
      <dc:creator>MichaelKelly3</dc:creator>
      <dc:date>2019-05-11T02:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Google Street View URL</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763892#M930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Luke,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently this method only works within a web map. The first block of Arcade is placed in a custom expression and the second block of HTML is placed within the pop up windows html. Unfortunately this method breaks if you save and reopen the web map. I have since changed the code to also store the HTML code within Arcade and pass it into the Popup Url. I will update this page shortly.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="447410" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/447410_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 May 2019 14:27:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763892#M930</guid>
      <dc:creator>KevinThompson</dc:creator>
      <dc:date>2019-05-11T14:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Google Street View URL</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763893#M931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The example works well and code is way more eloquent than mine! The challenge for myself is in trying to have it within the small window for ease of use. I have managed to get around it &lt;SPAN style="background-color: #ffffff;"&gt;programmatically&amp;nbsp;&lt;/SPAN&gt;wiping out my HTML code by embedding my changes within the Arcade expression and passing it to the URL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/447412_pastedImage_7.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #999999; font-size: 13px;"&gt;// Converts Longitude from metres to decimal degrees&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #999999; font-size: 13px;"&gt; var originShift = 2.0 * PI * 6378137.0 / 2.0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #999999; font-size: 13px;"&gt; var lon = (Geometry($feature).x / originShift) * 180.0;&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;SPAN style="color: #999999; font-size: 13px;"&gt;// Converts Latitude from metres to decimal degrees &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #999999; font-size: 13px;"&gt; var originShift = 2.0 * PI * 6378137.0 / 2.0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #999999; font-size: 13px;"&gt; var lat = (Geometry($feature).y / originShift) * 180.0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #999999; font-size: 13px;"&gt; lat = 180.0 / PI * (2.0 * Atan( Exp( lat * PI / 180.0)) - PI / 2.0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #999999; font-size: 13px;"&gt;// Combines the features coordinates to the Google Street View URL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #999999; font-size: 13px;"&gt;var url = Concatenate("https://maps.google.com/?cbll=" ,lat, "," ,lon, "&amp;amp;cbp=12,90,0,0,5&amp;amp;layer=c");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #999999; font-size: 13px;"&gt;//var url = "https://www.google.com/maps/search/?api=1&amp;amp;query=47.5951518,-122.3316393"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff; font-size: 13px;"&gt;// Creates the parameters to open in a small window and passes the url with coordinates&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #3366ff; font-size: 13px;"&gt;var Parameters = Concatenate("javascript:mywindow=window.open(","'", url,"'",",","'","mywindow","'",",'", "height=400,width=400,left=450,top=525","'",");");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #3366ff; font-size: 13px;"&gt;Parameters&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though the code does break through the Pop-up&amp;nbsp;Hyperlink method within a Web App for some reason. I have noticed that&amp;nbsp;if you pass this through the Pop-up Media instead it works and opens it within a window from the app. (I have read the Hyperlink and Pop-up pass urls differently for example the Pop-up Media can accept spaces within the url) The only issue is that it is not taking the coordinates some how. Finding out why that is will be harder since I don't think I can see&lt;/P&gt;&lt;P&gt;what the Web App is changing within the URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/447411_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 May 2019 14:49:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763893#M931</guid>
      <dc:creator>KevinThompson</dc:creator>
      <dc:date>2019-05-11T14:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Google Street View URL</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763894#M932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael, I got the arcade expression you provide a link for to work great in my web app - thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just wanted to ask how one might go around editing the hyperlink field to something other than the current 'more info' hyperlink.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2019 10:53:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763894#M932</guid>
      <dc:creator>LukeAllen2</dc:creator>
      <dc:date>2019-05-14T10:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Google Street View URL</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763895#M933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luke - by default more info is displayed in the popup for&amp;nbsp;text beginning with https://.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to change the display text, you would need to use a &lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/configure-custom-attribute-displays-pop-ups/"&gt;custom attribute display for the popup&lt;/A&gt;&amp;nbsp;which will allow you to alter any of the html including the display text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2019 16:30:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763895#M933</guid>
      <dc:creator>MichaelKelly3</dc:creator>
      <dc:date>2019-05-14T16:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Google Street View URL</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763896#M934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have solved the issue and determined that you cannot pass the full URL from arcade into the Pop-up media URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Create an Attribute Expression with the following code:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Converts Longitude from metres to decimal degrees&lt;BR /&gt;var originShift = 2.0 * PI * 6378137.0 / 2.0;&lt;BR /&gt;var lon = (Geometry($feature).x / originShift) * 180.0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Converts Latitude from metres to decimal degrees &lt;BR /&gt;var originShift = 2.0 * PI * 6378137.0 / 2.0;&lt;BR /&gt;var lat = (Geometry($feature).y / originShift) * 180.0;&lt;BR /&gt;lat = 180.0 / PI * (2.0 * Atan( Exp( lat * PI / 180.0)) - PI / 2.0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Combines the coordinates and passes them to the Pop-up Media URL&lt;BR /&gt;var Coordinates = Concatenate(lat,",", lon);&lt;BR /&gt;Coordinates&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Then in the Pop-up media for the image use the following URL:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;javascript:mywindow=window.open('https://maps.google.com/?cbll={expression/expr1}&amp;amp;cbp=12,90,0,0,5&amp;amp;layer=c','mywindow','height=400,width=400,left=450,top=525');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Make sure the URL references the correct expression so it passes the coordinates into the URL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Now you can open a windowed tab for Google Street&amp;nbsp;View at the location of the geometry.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2019 17:44:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763896#M934</guid>
      <dc:creator>KevinThompson</dc:creator>
      <dc:date>2019-06-21T17:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Google Street View URL</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763897#M935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Sorry for my English, use this application in a portal of a State or company, can generate some cost from Google?&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hola&lt;/P&gt;&lt;P&gt;Usar este aplicativo ,&amp;nbsp; en un portal de un Gobierno o empresa, puede generar algún costo por parte de Google?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;saludos cordiales&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2019 15:50:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763897#M935</guid>
      <dc:creator>carlosDominguez</dc:creator>
      <dc:date>2019-09-24T15:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Google Street View URL</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763898#M936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" href="https://community.esri.com/thread/233556-google-street-view-url#comment-851773" title="Go to message"&gt;Kevin Thompson,&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thanks for sharing this code.&amp;nbsp; This is exactly what I am trying to do within my Web App.&amp;nbsp; I have used the code above and can get a new windowed tab to open shwoing the Goolgle Street View location of my features.&amp;nbsp; However, as well as the windowed tab opening with Street View, a second full page tab is also opening that is completely blank when I use this bit of code in the popup media image URL:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;javascript:mywindow=window.open('&lt;/SPAN&gt;&lt;A class="" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fmaps.google.com%2F%3Fcbll%3D" rel="nofollow" target="_blank"&gt;https://maps.google.com/?cbll=&lt;/A&gt;&lt;SPAN&gt;{expression/expr0}&amp;amp;cbp=12,90,0,0,5&amp;amp;layer=c','mywindow','height=400,width=400,left=450,top=525');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt; Have you run into this issue or do you know why it maybe happening?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Lee&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Nov 2019 13:46:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763898#M936</guid>
      <dc:creator>LeeButler1984</dc:creator>
      <dc:date>2019-11-03T13:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Google Street View URL</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763899#M937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Afternoon Lee,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also now experiencing problems. Recently Google Chrome is now blocking the pop-up. As of yet I haven't found a way to fix this issue. It still seems to work as expected in Microsoft Edge, but I have not been able to allow AGOL as a trusted site to prevent it from blocking the pop-ups in Chrome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2019 17:48:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/google-street-view-url/m-p/763899#M937</guid>
      <dc:creator>KevinThompson</dc:creator>
      <dc:date>2019-11-18T17:48:39Z</dc:date>
    </item>
  </channel>
</rss>

