<?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 JavaScript v3 getScale in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-v3-getscale/m-p/1262170#M80396</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have a Web App Builder application, with a Vector Tile basemap in British National Grid projection system.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We have some custom scales on the basemap, and set them on the webmap when configuring in WAB.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, the scalebar widget shows different values ... ie 1:5000 shows as 1:4905.&amp;nbsp; When looking at the widget, it uses scaleUtils to get the scale.&amp;nbsp; When we use this.map.getScale() it returns 1:5000.&amp;nbsp; Question is, why do they calculate differently, and is there any reason why I shouldn't change the widget to use the map.getScale() function?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Feb 2023 21:52:15 GMT</pubDate>
    <dc:creator>SKW_UK</dc:creator>
    <dc:date>2023-02-27T21:52:15Z</dc:date>
    <item>
      <title>JavaScript v3 getScale</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-v3-getscale/m-p/1262170#M80396</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have a Web App Builder application, with a Vector Tile basemap in British National Grid projection system.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We have some custom scales on the basemap, and set them on the webmap when configuring in WAB.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, the scalebar widget shows different values ... ie 1:5000 shows as 1:4905.&amp;nbsp; When looking at the widget, it uses scaleUtils to get the scale.&amp;nbsp; When we use this.map.getScale() it returns 1:5000.&amp;nbsp; Question is, why do they calculate differently, and is there any reason why I shouldn't change the widget to use the map.getScale() function?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 21:52:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-v3-getscale/m-p/1262170#M80396</guid>
      <dc:creator>SKW_UK</dc:creator>
      <dc:date>2023-02-27T21:52:15Z</dc:date>
    </item>
  </channel>
</rss>

