ThinkGeo.com    |     Documentation    |     Premium Support

Zooming to absolute levels using MicrosoftMapLayer

The MicrosoftMapLayer allows you to zoom "relatively" (that is, zoom in or out) but how can I zoom to an absolute level, like zoom levels 1-19?


Thanks!



Gregory,


Thanks for your post and question.
 
Probablly you could try this:

VirtualEarthZoomLevelSet veSet = new VirtualEarthZoomLevelSet();
double value1 = veSet.ZoomLevel05.Scale;
 
winformsMap1.ZoomToScale(value1);

 
Any more questions just feel free to let me know.
 
Thanks.
 
Yale

Dang, you guys are good! Thanks Yale, I’ll give it a try…

Gregory, Thanks. 
  
 Any more questions just feel free to let me know. 
  
 Thanks. 
  
 Yale 


Just as a follow-up, your suggestion worked perfectly - thanks!

Gregory, 
  
 Thanks for letting me know your status. 
  
 Any more questions just feel free to let me know. 
  
 Thanks. 
  
 Yale