<?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: Not able to hide zoomto button on popup in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/not-able-to-hide-zoomto-button-on-popup/m-p/1057196#M73066</link>
    <description>&lt;P&gt;You can set the PopupTemplate overWriteActions to true and don't provide an actions array.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#overwriteActions" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#overwriteActions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This will remove it.&lt;/P&gt;</description>
    <pubDate>Wed, 12 May 2021 16:06:49 GMT</pubDate>
    <dc:creator>ReneRubalcava</dc:creator>
    <dc:date>2021-05-12T16:06:49Z</dc:date>
    <item>
      <title>Not able to hide zoomto button on popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/not-able-to-hide-zoomto-button-on-popup/m-p/1057124#M73059</link>
      <description>&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;I am using arcGIS 4.19 with ES module. Trying to hide default &lt;STRONG&gt;Zoomto&lt;/STRONG&gt; button.&lt;/P&gt;&lt;P&gt;used code:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;view.popup.dividedActions.inlineActions.items[&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;].className = "&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;hideZoomTO&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;view.popup.dividedActions.inlineActions.items[0].visible = false;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;this.view.popup.viewModel.allActions.&lt;/SPAN&gt;&lt;SPAN&gt;getItemAt&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;).visible&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;These all code are working but taking sometime. That means Its hiding but taking some micro seconds to hide the button.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Is there any method to hide the default button.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 12 May 2021 14:09:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/not-able-to-hide-zoomto-button-on-popup/m-p/1057124#M73059</guid>
      <dc:creator>GiovanniVanore1</dc:creator>
      <dc:date>2021-05-12T14:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to hide zoomto button on popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/not-able-to-hide-zoomto-button-on-popup/m-p/1057196#M73066</link>
      <description>&lt;P&gt;You can set the PopupTemplate overWriteActions to true and don't provide an actions array.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#overwriteActions" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#overwriteActions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This will remove it.&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 16:06:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/not-able-to-hide-zoomto-button-on-popup/m-p/1057196#M73066</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2021-05-12T16:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to hide zoomto button on popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/not-able-to-hide-zoomto-button-on-popup/m-p/1522606#M85385</link>
      <description>&lt;P&gt;Here is another option that worked great for me-&lt;/P&gt;&lt;P&gt;view.popup.visibleElements = {&lt;BR /&gt;actionBar: false,&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html#VisibleElements" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html#VisibleElements&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 22:05:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/not-able-to-hide-zoomto-button-on-popup/m-p/1522606#M85385</guid>
      <dc:creator>Paco</dc:creator>
      <dc:date>2024-08-15T22:05:50Z</dc:date>
    </item>
  </channel>
</rss>

