How to Zoom into map in different scales?

661
1
09-26-2012 06:38 PM
MuskTiranov
New Contributor
I have a button for ZoomIn and ZoomOut in Windows Mobile app. I want the user to be able to Zoom In/Out to 10 different levels defined (like in arcMap there is 1:1,000,1:5,000). Should I be using map1.Scale(SizeF factor); ?

Any code samples would be helpful. Thanks in advance
0 Kudos
1 Reply
IndraBisen
New Contributor III
Hi,
You can do it as following -

map1.Scale = 1000;
map1.Scale = 5000;
.
.
and so on.



Indra Bisen


I have a button for ZoomIn and ZoomOut in Windows Mobile app. I want the user to be able to Zoom In/Out to 10 different levels defined (like in arcMap there is 1:1,000,1:5,000). Should I be using map1.Scale(SizeF factor); ?

Any code samples would be helpful. Thanks in advance
0 Kudos