How to zoom map containing several layers ????
Zooming a collection of layers
Sneha,
Thanks for your post and interests in MapSuite component.
I am sorry to say that I am not quite understood for your question. We have two ways provided for now to operate the map (zoom or pan) when using Desktop component.
1)Use mouse and keyboard, for example we can use Shift + mouse (Left Click and drag) to track zoom in the map control.
2)Set the current extent programming, we have provided a couple of APIs for this in map control.
Any more questions please feel free to let me know.
Thanks.
Yale
Actually I wanted to implement the code for zooming .
I had used :
winformsMap1.ZoomIn(20);
But no changes seen...
Sneha,
We use ZoomLevelSet system in WinformsMap, the default behavior is snap to zoom level and the scale of each zoomlevel is different two times, so if you want to zoom in, you need to pass in the value bigger than 50, or you can set ZoomLevelSnapping property to none.
Thanks,
James