<?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 Show popup widget window after map click in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/show-popup-widget-window-after-map-click/m-p/1371579#M23350</link>
    <description>&lt;P&gt;We would like our custom widget to behave like this:&lt;/P&gt;&lt;P&gt;1) User clicks the widget icon to enable the widget. No widget popup window is shown.&lt;/P&gt;&lt;P&gt;2) After the user clicks on the map, the widget window is opened.&lt;/P&gt;&lt;P&gt;3) A js function is called and we can fetch the clicked coordinates.&lt;BR /&gt;Something like:&lt;BR /&gt;map.on("click", function (evt) {&lt;BR /&gt;var x = evt.mapPoint.x;&lt;BR /&gt;var y = evt.mapPoint.y;&lt;BR /&gt;})&lt;/P&gt;&lt;P&gt;How do we stop the widget window of showing after clicking the widget icon?&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jan 2024 13:49:37 GMT</pubDate>
    <dc:creator>LeifNorberg1</dc:creator>
    <dc:date>2024-01-18T13:49:37Z</dc:date>
    <item>
      <title>Show popup widget window after map click</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/show-popup-widget-window-after-map-click/m-p/1371579#M23350</link>
      <description>&lt;P&gt;We would like our custom widget to behave like this:&lt;/P&gt;&lt;P&gt;1) User clicks the widget icon to enable the widget. No widget popup window is shown.&lt;/P&gt;&lt;P&gt;2) After the user clicks on the map, the widget window is opened.&lt;/P&gt;&lt;P&gt;3) A js function is called and we can fetch the clicked coordinates.&lt;BR /&gt;Something like:&lt;BR /&gt;map.on("click", function (evt) {&lt;BR /&gt;var x = evt.mapPoint.x;&lt;BR /&gt;var y = evt.mapPoint.y;&lt;BR /&gt;})&lt;/P&gt;&lt;P&gt;How do we stop the widget window of showing after clicking the widget icon?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 13:49:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/show-popup-widget-window-after-map-click/m-p/1371579#M23350</guid>
      <dc:creator>LeifNorberg1</dc:creator>
      <dc:date>2024-01-18T13:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Show popup widget window after map click</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/show-popup-widget-window-after-map-click/m-p/1371591#M23351</link>
      <description>&lt;P&gt;Maybe a workable solution would be to minimize the widget using&amp;nbsp;&lt;SPAN&gt;minimizeWidget(widget) and then when you are ready call&amp;nbsp;normalizeWidget(widget) to put it back to the normal size.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/web-appbuilder/api-reference/widgetmanager.htm" target="_self"&gt;https://developers.arcgis.com/web-appbuilder/api-reference/widgetmanager.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 14:14:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/show-popup-widget-window-after-map-click/m-p/1371591#M23351</guid>
      <dc:creator>BrianLeroux</dc:creator>
      <dc:date>2024-01-18T14:14:17Z</dc:date>
    </item>
  </channel>
</rss>

