<?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 Zoom levels and specific scale in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-levels-and-specific-scale/m-p/1537622#M85658</link>
    <description>&lt;P&gt;Dear community, does anybody know a solution for the following?:&lt;/P&gt;&lt;P&gt;The map starts with a zoom level of a scale of 50.000.&lt;/P&gt;&lt;P&gt;I would like that after zoomIn via mousewheel&lt;/P&gt;&lt;P&gt;the scale is 25.000, and after next zoomin 10000 and safter the next zoomin: 5000.&lt;/P&gt;&lt;P&gt;Has anybody an idea?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Sep 2024 05:52:45 GMT</pubDate>
    <dc:creator>KaiBehncke</dc:creator>
    <dc:date>2024-09-12T05:52:45Z</dc:date>
    <item>
      <title>Zoom levels and specific scale</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-levels-and-specific-scale/m-p/1537622#M85658</link>
      <description>&lt;P&gt;Dear community, does anybody know a solution for the following?:&lt;/P&gt;&lt;P&gt;The map starts with a zoom level of a scale of 50.000.&lt;/P&gt;&lt;P&gt;I would like that after zoomIn via mousewheel&lt;/P&gt;&lt;P&gt;the scale is 25.000, and after next zoomin 10000 and safter the next zoomin: 5000.&lt;/P&gt;&lt;P&gt;Has anybody an idea?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 05:52:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-levels-and-specific-scale/m-p/1537622#M85658</guid>
      <dc:creator>KaiBehncke</dc:creator>
      <dc:date>2024-09-12T05:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom levels and specific scale</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-levels-and-specific-scale/m-p/1537624#M85659</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Allright, I got it:&lt;/P&gt;&lt;P&gt;The constraint snapToZoom should be false;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;  const view = new MapView({ container: "viewDiv", map: map, zoom: 3, center: new Point({ x: 413036, y: 5791444, spatialReference : 25832 }), highlightOptions: { color: [192, 55, 44, 1], width: 2, fillOpacity: 0 }, constraints: { rotationEnabled: false , snapToZoom: false } }); &lt;/LI-CODE&gt;&lt;P&gt;And afterwards:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;reactiveUtils.watch( () =&amp;gt; [view.stationary, view.scale], ([stationary, scale]) =&amp;gt; { if (stationary) { alert ("hello"+view.zoom); if (view.zoom==5){ view.scale=3000; } &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 06:29:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-levels-and-specific-scale/m-p/1537624#M85659</guid>
      <dc:creator>KaiBehncke</dc:creator>
      <dc:date>2024-09-12T06:29:28Z</dc:date>
    </item>
  </channel>
</rss>

