I have loaded MPK file to localMapService and want to calculate how many levels of zooming do i have. Is it possible?
My main task is to receive from a user the zoom level (integer) he want to zoom to, and i can't figure it out if it possible to calculate the extent according to required zoom level.
I'm not entirely sure what you mean - dynamic map services effectively have a continuous zoom and therefore the number of levels is your choice.
Cheers
Mike
Hi Mike, Thanks for replying. I have set a min and max resolutions to map control so i have about 10 scale levels. How do i calculate those possible scales? I have attached an image to demonstrate what i mean. hope this helps to understand. Lets say for simplicity that i want to show them to a user in a combo to select from.