Select to view content in your preferred language

how to show scale map

609
2
11-02-2014 08:30 PM
lasinh
by
Occasional Contributor

i have service cached with 15 scales how to my service show only 14 scale(javascript) (hide max scale)

0 Kudos
2 Replies
OwenEarley
Frequent Contributor

Check out the answer to this StackExchange question. It restricts the extent but you could use the same method to restrict the zoom to a map cache level of detail.

It would be better if you could hook into the map zoom-start event and cancel the event if it exceeds your level of detail but I am not sure if this is possible.

0 Kudos
KenBuja
MVP Esteemed Contributor

This sample shows how to restrict the map to specified Levels of Detail (LOD)