AnsweredAssumed Answered

map.setScale() and map.getScale()

Question asked by geonetadmin on Jun 26, 2014
Latest reply on Jun 26, 2014 by sagunn
Original User: sagunn

Has anyone seen this behavior before?  I'm at version 3.9 of the JS API.

Trying this in the console:

[ATTACH=CONFIG]34917[/ATTACH]

why the difference?  Am I missing something related to projection or spatialReference (I am at 3857)?

Seems to be exaggerated at smaller scales:
[ATTACH=CONFIG]34918[/ATTACH]

FWIW, calling setScale() within the console does change the zoom level on the map in real time...

Thanks for your help!

Outcomes