How do I set Max/Min Zoom level of mapView?

4260
2
07-13-2010 05:58 AM
AkhlaqRao
New Contributor
Hi,

I am having hard time to set the Max/Min zoom level of a mapView after the new update. Has anyone tried to use the new methods ZoomIn/ZoomOut?

Akhlaq Rao
GeoSurfInc.
0 Kudos
2 Replies
NimeshJarecha
Esri Regular Contributor
Akhlaq,

With new changes the option to zoom atLevel is no longer available. Are you finding any difficulties in using new ZoomIn/ZoomOut methods?

Regards,
Nimesh
0 Kudos
AkhlaqRao
New Contributor
Hi Nimesh,

Yes, I am having difficulties in using ZoomIn/out methods. The only functionality I know of, if I call these methods they only behave as their titles are Zoom In and Zoom out with some factor. I am unable to fix the Max or Min Zoom of the Map so user won't zoom all the way into or beyond the level 1 and vice versa. When I start the GPS it zooms all the way in where our maps are totally blank and because of that it crashes the app. I was using mapView.gps.zoomLevel to control the max zoom property of gps, but now I am not sure what to do to set the Max or Min zoom.


Regards
Akhlaq Rao
GeoSurfInc.  


Akhlaq,

With new changes the option to zoom atLevel is no longer available. Are you finding any difficulties in using new ZoomIn/ZoomOut methods?

Regards,
Nimesh
0 Kudos