<?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: Zoom Buttons don't work in Angular Map Component in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1398110#M84073</link>
    <description>&lt;P&gt;As a heads up for anyone else trying to apply the workaround with the ZoneJS flag on click: That option completely breaks our application, as it hoses up Angular Material drop-down select components.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've found that manually removing the zoom component and adding it back in appears to work for the time being. As of right now the open PR to fix Angular is 3 weeks old and still unmerged.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Mar 2024 21:54:02 GMT</pubDate>
    <dc:creator>GabrielWatson</dc:creator>
    <dc:date>2024-03-19T21:54:02Z</dc:date>
    <item>
      <title>Zoom Buttons don't work in Angular Map Component</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1396223#M84012</link>
      <description>&lt;P&gt;I have a very simple Angular application containing a map component. The map renders fine, but the nothing happens when clicking either zoom button. The app is so simple I'm at a loss as to why the zoom buttons aren't working.&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/180"&gt;@AndyGup&lt;/a&gt;&amp;nbsp;would you have any pointers? Unfortunately my sample app is too large to upload here.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 18:52:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1396223#M84012</guid>
      <dc:creator>ShaneBuscher1</dc:creator>
      <dc:date>2024-03-14T18:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom Buttons don't work in Angular Map Component</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1396582#M84023</link>
      <description>&lt;P&gt;It's related to an Angular bug in zone.js. A fix will hopefully be available in the next zone.js release since the pull request is approved and ready-to-go: &lt;A href="https://github.com/angular/angular/pull/54602" target="_blank"&gt;https://github.com/angular/angular/pull/54602&lt;/A&gt;. We have documented a temporary workaround in our Angular esm-sample's README: &lt;A href="https://github.com/Esri/jsapi-resources/tree/main/esm-samples/jsapi-angular-cli#known-issues" target="_blank"&gt;https://github.com/Esri/jsapi-resources/tree/main/esm-samples/jsapi-angular-cli#known-issues&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 15:21:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1396582#M84023</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2024-03-15T15:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom Buttons don't work in Angular Map Component</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1397184#M84038</link>
      <description>&lt;P&gt;Thanks for getting back. I'll give the workaround a shot.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 12:00:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1397184#M84038</guid>
      <dc:creator>ShaneBuscher1</dc:creator>
      <dc:date>2024-03-18T12:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom Buttons don't work in Angular Map Component</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1398110#M84073</link>
      <description>&lt;P&gt;As a heads up for anyone else trying to apply the workaround with the ZoneJS flag on click: That option completely breaks our application, as it hoses up Angular Material drop-down select components.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've found that manually removing the zoom component and adding it back in appears to work for the time being. As of right now the open PR to fix Angular is 3 weeks old and still unmerged.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 21:54:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1398110#M84073</guid>
      <dc:creator>GabrielWatson</dc:creator>
      <dc:date>2024-03-19T21:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom Buttons don't work in Angular Map Component</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1398115#M84074</link>
      <description>&lt;P&gt;Thanks for letting us know &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/708184"&gt;@GabrielWatson&lt;/a&gt;. We are aware that the workaround isn't going to work for all implementations. Because of that, we encourage you, &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/391513"&gt;@ShaneBuscher1&lt;/a&gt; and anyone else using Angular to thumbs up the Angular pull request. Here's the link: &lt;A href="https://github.com/angular/angular/pull/54602" target="_blank" rel="noopener"&gt;https://github.com/angular/angular/pull/54602&lt;/A&gt;. And, we are keeping our eye on it.&lt;/P&gt;&lt;P&gt;Footnote: there has been motion on updating zone.js related to the Angular 18-next release.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 22:14:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1398115#M84074</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2024-03-19T22:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom Buttons don't work in Angular Map Component</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1400828#M84125</link>
      <description>&lt;P&gt;yes. I think for now it is good to remove zoom component from mapview and add it back. This works smoothly.&lt;/P&gt;&lt;P&gt;Even I faced similar issue with webscene, if anyone else facing this issue. Than use loadAll function of webscene and on load event of webscene add it to sceneview.&lt;/P&gt;&lt;P&gt;this.map =&amp;nbsp;&lt;SPAN&gt;new&lt;/SPAN&gt; &lt;SPAN&gt;WebScene&lt;/SPAN&gt;&lt;SPAN&gt;({&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;portalItem&lt;/SPAN&gt;&lt;SPAN&gt;: {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;id&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;sceneId&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; },&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;this&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;map&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;loadAll&lt;/SPAN&gt;&lt;SPAN&gt;()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV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;=&lt;/SPAN&gt; &lt;SPAN&gt;new&lt;/SPAN&gt; &lt;SPAN&gt;SceneView&lt;/SPAN&gt;&lt;SPAN&gt;({&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;map&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;this&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;map&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;container&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;'mapContainer'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; });&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 26 Mar 2024 12:14:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1400828#M84125</guid>
      <dc:creator>imritanshu</dc:creator>
      <dc:date>2024-03-26T12:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom Buttons don't work in Angular Map Component</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1401961#M84150</link>
      <description>&lt;P&gt;Update: the Angular team merged the bug fix. Now we wait for the next release of zone.js.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 14:26:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1401961#M84150</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2024-03-28T14:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom Buttons don't work in Angular Map Component</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1402616#M84164</link>
      <description>&lt;P&gt;Hi, I have the same problem , I have tried to remove and reinsert the zoom but without success, is there a precise practice to do this ?&lt;/P&gt;&lt;P&gt;I have done so&lt;/P&gt;&lt;P&gt;let zoom = new esri.Zoom({&lt;BR /&gt;view: view&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;view.ui.remove("zoom");&lt;/P&gt;&lt;P&gt;view.ui.add(zoom, "top-left");&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2024 15:25:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1402616#M84164</guid>
      <dc:creator>fb1</dc:creator>
      <dc:date>2024-03-29T15:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom Buttons don't work in Angular Map Component</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1403733#M84170</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/762164"&gt;@fb1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the zoom which you&amp;nbsp; are removing is the default widget which automatically gets created while creating view and that is why you have passed it in double quotes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the zoom which you are adding is your new instance of zoom widget which is separate from the default one..&amp;nbsp;&lt;/P&gt;&lt;P&gt;here no need to create a new instance. Just remove the already created zoom&amp;nbsp; instance and add it back..&lt;/P&gt;&lt;P&gt;view.ui.remove("zoom");&lt;/P&gt;&lt;P&gt;view.ui.add("zoom", "top-left");&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 08:53:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1403733#M84170</guid>
      <dc:creator>imritanshu</dc:creator>
      <dc:date>2024-04-01T08:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom Buttons don't work in Angular Map Component</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1404320#M84190</link>
      <description>&lt;P&gt;thank you for your reply,&lt;/P&gt;&lt;P&gt;unfortunately I have tried but it doesn't work that way either&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 07:28:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1404320#M84190</guid>
      <dc:creator>fb1</dc:creator>
      <dc:date>2024-04-02T07:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom Buttons don't work in Angular Map Component</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1508877#M85094</link>
      <description>&lt;P&gt;neither of these work for me.&amp;nbsp;&lt;BR /&gt;I am curious if the issue is coming from the fact that the new zoom buttons are actually calcite-button components and angular does't know what to do with them? Do we need to install calcite and register those custom components?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2024 20:30:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1508877#M85094</guid>
      <dc:creator>LeeTaEthni</dc:creator>
      <dc:date>2024-07-23T20:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom Buttons don't work in Angular Map Component</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1508900#M85098</link>
      <description>&lt;P&gt;The button click not working was an Angular bug that's been fixed in zone.js version 0.14.5, so you'll need to upgrade to use the "@latest" version that your Angular install supports. If you aren't able to update zone.js, then the workaround&amp;nbsp; isto disable zone.js monkey patching as documented here: &lt;A href="https://github.com/Esri/jsapi-resources/tree/main/core-samples/jsapi-angular-cli#known-issues" target="_blank" rel="noopener"&gt;https://github.com/Esri/jsapi-resources/tree/main/core-samples/jsapi-angular-cli#known-issues&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2024 21:10:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1508900#M85098</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2024-07-23T21:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom Buttons don't work in Angular Map Component</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1548435#M85883</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/180"&gt;@AndyGup&lt;/a&gt;&amp;nbsp;, We tried all the steps given in&amp;nbsp;&lt;A href="https://github.com/Esri/jsapi-resources/tree/main/core-samples/jsapi-angular-cli#known-issues" target="_blank"&gt;https://github.com/Esri/jsapi-resources/tree/main/core-samples/jsapi-angular-cli#known-issues&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We installed zone.js &lt;SPAN&gt;0.14.5 version, then tried latest 0.14.10 version, then tried the workaround to disable monkey patching of DOM&amp;nbsp;click&amp;nbsp;event&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Buttons on the map still didn't work. Any suggestions please ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 15:22:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1548435#M85883</guid>
      <dc:creator>AlagappanA</dc:creator>
      <dc:date>2024-10-14T15:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom Buttons don't work in Angular Map Component</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1548881#M85899</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/747815"&gt;@AlagappanA&lt;/a&gt;&amp;nbsp; please provide a minimum reproducible app, here are the instructions: &lt;A href="https://developers.arcgis.com/javascript/latest/troubleshooting/#minimal-reproducible-application" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/troubleshooting/#minimal-reproducible-application&lt;/A&gt;. The Angular sample is a great starting place: &amp;nbsp;&lt;A href="https://github.com/Esri/jsapi-resources/tree/main/core-samples/jsapi-angular-cli#known-issues" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Esri/jsapi-resources/tree/main/core-samples/jsapi-angular-cli&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 23:22:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angular-map-component/m-p/1548881#M85899</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2024-10-15T23:22:17Z</dc:date>
    </item>
  </channel>
</rss>

