<?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 Can a specific map scale be set? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-a-specific-map-scale-be-set/m-p/522423#M48686</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Say I have a basemap that has 15 zoom levels where zoom level 18 has a map scale of 1:2287 and zoom level 17 has a map scale of 1:4514.&amp;nbsp; Is it somehow possible to set the map extent to what it would look like at a scale of 1:3000?&amp;nbsp; I have a situation where 1:2287 zooms me in too close and 1:4514 is a bit too far out.&amp;nbsp; I would like to see the view at a scale of 1:3000, which would be just about right.&amp;nbsp; I have a feeling that the scale can only be set to the nearest zoom level that&amp;nbsp; the current map is set for and if I want to get to a scale of 1:3000, I just need to find a map that has been set to use a zoom level at that scale.&amp;nbsp; I am not in a position to actually reset the levels, such as what is listed in the&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jssamples/map_customtilelevels.html" title="https://developers.arcgis.com/javascript/3/jssamples/map_customtilelevels.html"&gt;Set visible scales | ArcGIS API for JavaScript 3.32&lt;/A&gt;&amp;nbsp;, however.&amp;nbsp; Just wondering if it were possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any thoughts - Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jun 2020 00:14:33 GMT</pubDate>
    <dc:creator>PeterLen</dc:creator>
    <dc:date>2020-06-01T00:14:33Z</dc:date>
    <item>
      <title>Can a specific map scale be set?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-a-specific-map-scale-be-set/m-p/522423#M48686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Say I have a basemap that has 15 zoom levels where zoom level 18 has a map scale of 1:2287 and zoom level 17 has a map scale of 1:4514.&amp;nbsp; Is it somehow possible to set the map extent to what it would look like at a scale of 1:3000?&amp;nbsp; I have a situation where 1:2287 zooms me in too close and 1:4514 is a bit too far out.&amp;nbsp; I would like to see the view at a scale of 1:3000, which would be just about right.&amp;nbsp; I have a feeling that the scale can only be set to the nearest zoom level that&amp;nbsp; the current map is set for and if I want to get to a scale of 1:3000, I just need to find a map that has been set to use a zoom level at that scale.&amp;nbsp; I am not in a position to actually reset the levels, such as what is listed in the&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jssamples/map_customtilelevels.html" title="https://developers.arcgis.com/javascript/3/jssamples/map_customtilelevels.html"&gt;Set visible scales | ArcGIS API for JavaScript 3.32&lt;/A&gt;&amp;nbsp;, however.&amp;nbsp; Just wondering if it were possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any thoughts - Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2020 00:14:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-a-specific-map-scale-be-set/m-p/522423#M48686</guid>
      <dc:creator>PeterLen</dc:creator>
      <dc:date>2020-06-01T00:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can a specific map scale be set?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-a-specific-map-scale-be-set/m-p/522424#M48687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for development purposes I like to declare the var view; outside of the require statements so I can get and set the view's properties in the browsers developer tools.&lt;/P&gt;&lt;P&gt;Maybe this can help you out. For your particular case I'd do: view.scale = 3000 in the dev tools of the browser and see if it fits my needs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2020 14:00:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-a-specific-map-scale-be-set/m-p/522424#M48687</guid>
      <dc:creator>ChristianBischof</dc:creator>
      <dc:date>2020-06-05T14:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can a specific map scale be set?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-a-specific-map-scale-be-set/m-p/522425#M48688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to set the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#constraints"&gt;Constraints&lt;/A&gt;.&lt;CODE style="color: #595959; background-color: #ffffff; border: 1px solid #efefef; font-size: 0.875em;"&gt;snapToZoom&lt;/CODE&gt;&lt;SPAN style="color: #4c4c4c; background-color: #f8f8f8;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;property. to &lt;CODE style="color: #595959; background-color: #ffffff; border: 1px solid #efefef; font-size: 0.875em;"&gt;false&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: #f8f8f8;"&gt;In MapView,&amp;nbsp;&lt;/SPAN&gt;&lt;CODE style="color: #595959; background-color: #ffffff; border: 1px solid #efefef; font-size: 0.875em;"&gt;snapToZoom&lt;/CODE&gt;&lt;SPAN style="color: #4c4c4c; background-color: #f8f8f8;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;CODE style="color: #595959; background-color: #ffffff; border: 1px solid #efefef; font-size: 0.875em;"&gt;true&lt;/CODE&gt;&lt;SPAN style="color: #4c4c4c; background-color: #f8f8f8;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;by default.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2020 10:58:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-a-specific-map-scale-be-set/m-p/522425#M48688</guid>
      <dc:creator>TheodorosKelekis</dc:creator>
      <dc:date>2020-06-18T10:58:35Z</dc:date>
    </item>
  </channel>
</rss>

