<?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 How to get map scale in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-map-scale/m-p/556104#M51874</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi forum,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm developing an application template using the Javascript APIs v 2.1. and I would ask if is there a way to retrieve the map scale simply? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I cannot find any example or clear API documentation about this. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, in OpenLayers, you can obtain the current denominator of the map using the getScale() function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thx in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Oct 2010 20:05:30 GMT</pubDate>
    <dc:creator>AlessioDi_Lorenzo</dc:creator>
    <dc:date>2010-10-13T20:05:30Z</dc:date>
    <item>
      <title>How to get map scale</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-map-scale/m-p/556104#M51874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi forum,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm developing an application template using the Javascript APIs v 2.1. and I would ask if is there a way to retrieve the map scale simply? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I cannot find any example or clear API documentation about this. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, in OpenLayers, you can obtain the current denominator of the map using the getScale() function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thx in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Oct 2010 20:05:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-map-scale/m-p/556104#M51874</guid>
      <dc:creator>AlessioDi_Lorenzo</dc:creator>
      <dc:date>2010-10-13T20:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to get map scale</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-map-scale/m-p/556105#M51875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you tried using class: LOD?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it has a property for scale..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi_start.htm#jsapi/lod.htm"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi_start.htm#jsapi/lod.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Oct 2010 15:46:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-map-scale/m-p/556105#M51875</guid>
      <dc:creator>AlexGray</dc:creator>
      <dc:date>2010-10-14T15:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to get map scale</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-map-scale/m-p/556106#M51876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;LOD normally only represents the scale value at equator area.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The accurate way is to send a request to geometry service to calculate the geodesic distance between two points, which are the lower-left and lower-right corners. Then divide it by the number of pixels of the map width. The result is the length represented by one pixel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For Web Mercator or GCS coordinate systems, the client side geodesic length algorithm can be leveraged to eliminate the request to geometry service. Please see details at: &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/13979-Client-side-reprojection#3"&gt;http://forums.arcgis.com/threads/13979-Client-side-reprojection#3&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 21:08:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-map-scale/m-p/556106#M51876</guid>
      <dc:creator>JianHuang</dc:creator>
      <dc:date>2010-10-22T21:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to get map scale</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-map-scale/m-p/556107#M51877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Don't forget about the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/namespace_geometry.htm#getScale"&gt;getScale() method&lt;/A&gt;&lt;SPAN&gt; in the esri.geometry namespace.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 21:35:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-map-scale/m-p/556107#M51877</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2010-10-22T21:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to get map scale</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-map-scale/m-p/556108#M51878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would like to add just that the monitor scale depends on the DPIs of the monitor and so, for an accurate scale, you should use this information too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With a scale bar instead you can compensate this information.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Oct 2010 16:24:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-map-scale/m-p/556108#M51878</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2010-10-23T16:24:55Z</dc:date>
    </item>
  </channel>
</rss>

