hello, I'm using a tiled layer and graphics layer. My tiled layer displays a background, and graphics layer displays thematic polygons. What I'm trying to do is zoom to show all features existing on the graphics layer. To do this, I calculate the extent of all features, then calculate a scale based on this extent, and then loop through all LODs to find the first one which is big enough to contain my extent. Then, I set the map's scale to the scale of the LOD I found. It seems that the map applies a different scale to what I try to set. Below is a sample trace:
uk.co.informed.mapping.view.helper.IS_ExtentWizzard calcContainingExtent : calculated scale 1640465.5337176886
uk.co.informed.mapping.view.helper.IS_ExtentWizzard calcContainingScale : containing LOD (com.esri.ags.layers::LOD)#0
level = 2
resolution = 705.556966669489
scale = 2000000
uk.co.informed.mapping.view.helper.IS_ExtentWizzard zoomToExtent : set map scale: 2000000
uk.co.informed.mapping.view.helper.IS_ExtentWizzard onExtentChanged : (com.esri.ags.layers::LOD)#0
level = 3
resolution = 352.778483334745
scale = 1000000
Extent[xmin=359546.6472328053,ymin=284198.9608246544,xmax=623424.9527671945,ymax=456707.63917534467]
Clearly, the map should set the scale to 2000000, and not 1000000. The map supports the following scales:64000004200000200000010000006000004000002000001000005000025000It happens using both 1.2 and 1.3 versions of the API. Any thoughts?cheers,Jan