i have service cached with 15 scales how to my service show only 14 scale(javascript) (hide max scale)
This sample shows how to restrict the map to specified Levels of Detail (LOD)
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.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.