<?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: Simple custom URL widget, based on clicked location on map in Experience Builder Custom Widgets</title>
    <link>https://community.esri.com/t5/experience-builder-custom-widgets/simple-custom-url-widget-based-on-clicked-location/m-p/1147710#M11</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/540338"&gt;@JohnSasso2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you seen this sample?&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/experience-builder/sample-code/widgets/get-map-coordinates-function/" target="_blank"&gt;https://developers.arcgis.com/experience-builder/sample-code/widgets/get-map-coordinates-function/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can also look at the code in custom widgets like my elocate to get coding examples (specifically the widget.tsx&amp;nbsp;&lt;SPAN&gt;handleRevGeocodeBtnClick function).&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Feb 2022 20:34:16 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2022-02-24T20:34:16Z</dc:date>
    <item>
      <title>Simple custom URL widget, based on clicked location on map</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/simple-custom-url-widget-based-on-clicked-location/m-p/1147697#M9</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1104"&gt;@RobertScheitlin__GISP&lt;/a&gt;&amp;nbsp;I have a request, which I hope is simple, or perhaps you can lead me in the right direction.&lt;/P&gt;&lt;P&gt;I want to create a simple widget where, if I click anywhere on my map, it shows either in a pop-op box or other small, separate window a URL dynamically-created based on the lat-long coordinates.&amp;nbsp; To clarify, here's an example:&lt;/P&gt;&lt;P&gt;I go to this widget click on the pin icon (similar to what's in the Measurement widget).&amp;nbsp; I then click anyplace on the map, and lets suppose the point I am at is&amp;nbsp;42.7192992,-73.8323004.&amp;nbsp; What happens when I click is that a URL for a specific website appears with the location, e.g., if URL =&amp;nbsp;&lt;A href="https://www.google.com/maps/" target="_blank"&gt;https://www.google.com/maps/&lt;/A&gt;&amp;nbsp;then I'd get:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.google.com/maps/@42.7192992,-73.8323004,18z" target="_blank"&gt;https://www.google.com/maps/@42.7192992,-73.8323004,18z&lt;/A&gt;&lt;/P&gt;&lt;P&gt;which I can then click on to bring me to a Google Maps window.&amp;nbsp; I'm trying to wrangle this out in TypeScript, albeit with very limited experience with the language.&amp;nbsp; &amp;nbsp;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 19:51:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/simple-custom-url-widget-based-on-clicked-location/m-p/1147697#M9</guid>
      <dc:creator>JohnSasso2</dc:creator>
      <dc:date>2022-02-24T19:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Simple custom URL widget, based on clicked location on map</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/simple-custom-url-widget-based-on-clicked-location/m-p/1147700#M10</link>
      <description>&lt;P&gt;This sounds very similar to the workflow that I used on my custom widget in WAB.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 19:56:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/simple-custom-url-widget-based-on-clicked-location/m-p/1147700#M10</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2022-02-24T19:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Simple custom URL widget, based on clicked location on map</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/simple-custom-url-widget-based-on-clicked-location/m-p/1147710#M11</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/540338"&gt;@JohnSasso2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you seen this sample?&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/experience-builder/sample-code/widgets/get-map-coordinates-function/" target="_blank"&gt;https://developers.arcgis.com/experience-builder/sample-code/widgets/get-map-coordinates-function/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can also look at the code in custom widgets like my elocate to get coding examples (specifically the widget.tsx&amp;nbsp;&lt;SPAN&gt;handleRevGeocodeBtnClick function).&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 20:34:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/simple-custom-url-widget-based-on-clicked-location/m-p/1147710#M11</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2022-02-24T20:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Simple custom URL widget, based on clicked location on map</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/simple-custom-url-widget-based-on-clicked-location/m-p/1147711#M12</link>
      <description>&lt;P&gt;Yes, I have.&amp;nbsp; What I am trying to do is sort of reverse-engineer the Meaurement widget, pruning out some things and trying to add what I need&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 20:36:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/simple-custom-url-widget-based-on-clicked-location/m-p/1147711#M12</guid>
      <dc:creator>JohnSasso2</dc:creator>
      <dc:date>2022-02-24T20:36:05Z</dc:date>
    </item>
  </channel>
</rss>

