Select to view content in your preferred language

Retrieving Map Resolution

609
2
03-01-2011 10:10 AM
JasonLevine
Deactivated User
Is there any way to get at the map resolution through the API?

For my tiled service, I have:

Level ID: 9 [Start Tile, End Tile]
      Resolution: 3.91839297309028
      Scale: 4513.988705

To get at the scale, I would use: map.Scale

How would I get at the resolution? I need to capture it for some calculations.

Thanks,
Jason
Tags (2)
0 Kudos
2 Replies
DasaPaddock
Esri Regular Contributor
You can use map.level as the index to the map.lods Array and then get the resolution from the corresponding LOD.

Reference:
http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/Map.html#lods
0 Kudos
JasonLevine
Deactivated User
Thank you, I forgot this was stored in the array.

-Jason
0 Kudos