Select to view content in your preferred language

Controlling zoom scales

3121
3
07-28-2014 10:37 AM
Gayathri_PriyaRavichandran
Deactivated User

Hi all,

        I would like to know how to control zoom scales or fix like 5-6 zoom factors for a map . I would also like to know if I can control the zoom factors by  using a zoom scale file. Thanks in advance.

Tags (2)
0 Kudos
3 Replies
AnthonyGiles
Honored Contributor

Gayathri

you will need to add more detail if you want a decent reply from somebody.  What language or application are you requesting the info for?

0 Kudos
Gayathri_PriyaRavichandran
Deactivated User

I am sorry for the inadequate information provided before.

I am working on a web application using javascript. I require to control the zoom scales as there are some zoom scales which are not required.

0 Kudos
AnthonyGiles
Honored Contributor

Gayathri,

you can specify what zoom scales you wish to use by using the LODs property of the map:

Specify LODs (levels of detail) | ArcGIS API for JavaScript

example here:

Limiting LODs displayed on map

0 Kudos