<?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: Esri 4.31 | MapView.popup.open() is not a function error (until map is focused) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-4-31-mapview-popup-open-is-not-a-function/m-p/1557590#M86059</link>
    <description>&lt;P&gt;Because the Popup is now lazily loaded, it's not a full Popup instance until a feature with a popup template is clicked.&lt;/P&gt;&lt;P&gt;To interact with the popup manually, there are two methods on the view you an use.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#openPopup" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#openPopup&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#closePopup" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#closePopup&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This should get you the behavior you are looking for.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Nov 2024 16:17:12 GMT</pubDate>
    <dc:creator>ReneRubalcava</dc:creator>
    <dc:date>2024-11-12T16:17:12Z</dc:date>
    <item>
      <title>Esri 4.31 | MapView.popup.open() is not a function error (until map is focused)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-4-31-mapview-popup-open-is-not-a-function/m-p/1557501#M86058</link>
      <description>&lt;P&gt;Hi, So I had previously 4.30 and everything was working well.&lt;/P&gt;&lt;P&gt;Upon 4.31 upgrade, When initialize a session, I have a function that upon hovering on either FeatureLayer or StreamLayer, opens a popup via MapView.popup.open() and close it via popup.close().&lt;/P&gt;&lt;P&gt;however, I receive the following error:&lt;/P&gt;&lt;P&gt;mapView?.popup?.open is not a function&lt;/P&gt;&lt;P&gt;mapView.popup.close is not a function&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, When I click on anywhere on the map (even blank spots), these functions suddenly become available, and everything works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 14:21:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-4-31-mapview-popup-open-is-not-a-function/m-p/1557501#M86058</guid>
      <dc:creator>orahlagi</dc:creator>
      <dc:date>2024-11-12T14:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Esri 4.31 | MapView.popup.open() is not a function error (until map is focused)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-4-31-mapview-popup-open-is-not-a-function/m-p/1557590#M86059</link>
      <description>&lt;P&gt;Because the Popup is now lazily loaded, it's not a full Popup instance until a feature with a popup template is clicked.&lt;/P&gt;&lt;P&gt;To interact with the popup manually, there are two methods on the view you an use.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#openPopup" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#openPopup&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#closePopup" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#closePopup&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This should get you the behavior you are looking for.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 16:17:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-4-31-mapview-popup-open-is-not-a-function/m-p/1557590#M86059</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2024-11-12T16:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Esri 4.31 | MapView.popup.open() is not a function error (until map is focused)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-4-31-mapview-popup-open-is-not-a-function/m-p/1580164#M86441</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hp_197.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/124309i5EF20EB28E420C90/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hp_197.png" alt="hp_197.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; This is how I fix the problem. see picture.&amp;nbsp; with v4.31 in&amp;nbsp; 2025&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 20:34:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-4-31-mapview-popup-open-is-not-a-function/m-p/1580164#M86441</guid>
      <dc:creator>hoogw</dc:creator>
      <dc:date>2025-01-29T20:34:08Z</dc:date>
    </item>
  </channel>
</rss>

