Scale/Resolution and levels

885
2
01-07-2014 04:09 AM
Labels (1)
eranz
by
New Contributor
Hi,

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.
0 Kudos
2 Replies
MichaelBranscomb
Esri Frequent Contributor
Hi,

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
0 Kudos
eranz
by
New Contributor
Hi,

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.

[ATTACH=CONFIG]30420[/ATTACH]
0 Kudos