Select to view content in your preferred language

Zoom to scale.

676
2
10-26-2010 08:06 PM
SanajyJadhav
Deactivated User
Hi,

We want our users to type scale in the textbox and zoom the map to that scale in our Silverlight apps. After going through the online help, I could not find any method on the Map class that could do this.

Could anybody let me know how to do this?

Thanks and regards,
Sanjay.
0 Kudos
2 Replies
JenniferNery
Esri Regular Contributor
We don't have a Zoom to scale, but we do have a ZoomToResolution.  How you calculate resolution is documented here: http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Map.html
0 Kudos
SanajyJadhav
Deactivated User
Thanks for getting back to me.

I would look into the help docs.

Cheers,
Sanjay.
0 Kudos