<?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: FloorFilter: press &amp;quot;zoom to&amp;quot; button programmaticaly in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/floorfilter-press-quot-zoom-to-quot-button/m-p/1656746#M87709</link>
    <description>&lt;P&gt;Yes, you can use the undocumented method "_zoomToClicked" to simulate a click on the "Zoom to" button:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;floorFilter._zomToClicked();&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that because this is an undocumented feature, it may be changed or removed in a future version of the SDK without notice.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Oct 2025 17:06:17 GMT</pubDate>
    <dc:creator>JoelBennett</dc:creator>
    <dc:date>2025-10-09T17:06:17Z</dc:date>
    <item>
      <title>FloorFilter: press "zoom to" button programmaticaly</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/floorfilter-press-quot-zoom-to-quot-button/m-p/1655174#M87690</link>
      <description>&lt;P&gt;Hi JavaScript SDK Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wrote successfully a MapViewer with a preconfigured (facility, level) FloorFilter.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The WebMap is shown, the FloorFilter shows the correct facility and the correct floor.&lt;/P&gt;&lt;P&gt;But the WebMap stays at the initial view and zoom. I have to press the "zoom to" button in the FloorFilter to show the selected floor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to "press" the FloorFilter zoom button programmaticaly?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for any hint.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Armin&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2025 15:01:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/floorfilter-press-quot-zoom-to-quot-button/m-p/1655174#M87690</guid>
      <dc:creator>abru62</dc:creator>
      <dc:date>2025-10-03T15:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: FloorFilter: press "zoom to" button programmaticaly</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/floorfilter-press-quot-zoom-to-quot-button/m-p/1656746#M87709</link>
      <description>&lt;P&gt;Yes, you can use the undocumented method "_zoomToClicked" to simulate a click on the "Zoom to" button:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;floorFilter._zomToClicked();&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that because this is an undocumented feature, it may be changed or removed in a future version of the SDK without notice.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 17:06:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/floorfilter-press-quot-zoom-to-quot-button/m-p/1656746#M87709</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2025-10-09T17:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: FloorFilter: press "zoom to" button programmaticaly</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/floorfilter-press-quot-zoom-to-quot-button/m-p/1657134#M87712</link>
      <description>&lt;P&gt;Unfortunately it does not work.&lt;/P&gt;&lt;P&gt;Console output is:&amp;nbsp;FloorFilter._zoomToClicked is not a function&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the code (JS SDK 4.33):&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;const FloorFilter = document.createElement("arcgis-floor-filter");&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; FloorFilter.position = "top-left";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; FloorFilter.facility = facility;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; FloorFilter.level = floor;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; FloorFilter.longNames = false;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; viewElement.appendChild(FloorFilter);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; FloorFilter._zoomToClicked();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 16:01:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/floorfilter-press-quot-zoom-to-quot-button/m-p/1657134#M87712</guid>
      <dc:creator>abru62</dc:creator>
      <dc:date>2025-10-10T16:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: FloorFilter: press "zoom to" button programmaticaly</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/floorfilter-press-quot-zoom-to-quot-button/m-p/1657747#M87720</link>
      <description>&lt;P&gt;I see...I thought you were using the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FloorFilter.html" target="_self"&gt;widget&lt;/A&gt;, but you're actually using the &lt;A href="https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-floor-filter/" target="_self"&gt;map component&lt;/A&gt;.&amp;nbsp; I'm afraid I don't presently have any further advice in that case.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 17:04:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/floorfilter-press-quot-zoom-to-quot-button/m-p/1657747#M87720</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2025-10-14T17:04:46Z</dc:date>
    </item>
  </channel>
</rss>

