AnsweredAssumed Answered

Where is Scalebar accurate in 3.x JS API?

Question asked by kmsagis on Dec 19, 2017
Latest reply on Dec 22, 2017 by bsvensson-esristaff

So, my question is, where is the Scalebar accurate for in 3.x API? Both if it's in the map DIV or if external. 3.x docs do not mention Scalebar 3.23 


In the 4.x docs ScaleBar is described beautifully: ScaleBar 4.6  It is valid for where it actually is, on the map, literally underneath it.  And if it's external outside the map element it's valid for the map's center.


On a sidenote, does Esri have plans to integrate a variable scalebar for global-scale projected maps to the API? Or indicate direction via graticule? I've noticed many in GIS are creating maps with inaccurate north or scalebar. ArcMap is cumbersome to deal with for north and scalebar in these cases which is part of why this happens. Some of the best articles on this are recent Esri articles:

Does every map need a north arrow and scale bar? | ArcGIS Blog  

Choosing the best way to indicate map scale | ArcGIS Blog  

Back to the issue of scale bars | ArcGIS Blog  


I propose adding support for variable scalebars and graticules, and other ways of dealing with this, both in Desktop and the API. Or even for a way of showing Tissot's indicatrix. Because, it matters.  


A public service announcement for us all, to remember to indicate projection and datum on map title blocks on printed maps and in viewer documentation. And if north is true, and if not, declination etc. What realization the datum is, transformations, scales of data and analysis, etc. And even scalebar units, etc.