This project is read-only.

Zoom in/out jumps 9 zoom levels

Nov 6, 2009 at 4:12 PM



I am newbie and just compiled my first silver light project. Its rocks!

But when I click the zoom in/out controls on the tool bar the map jumps really into a deep zoomlevel, that incrementing in smaller values. 

I looked into Zoomin_click and mouse double click code, though they use the same functions but the end result is different.

Can someone post a code sample on how to control it or point to where to make the changes?

Thanks in advance for your help!




Nov 7, 2009 at 9:52 PM

Are you using the release from early in the year or the latest source? Also are you using the control for the Bing Maps control or the DeepEarth map itself? We have more recently improved this control and made it work with both map controls.

(Yes we have way too may options for you currently)

Nov 7, 2009 at 11:28 PM
Edited Nov 7, 2009 at 11:29 PM



Thank you for getting back to me!

I am using the latest DeepEarth control...




Nov 11, 2009 at 6:52 AM

Could it be that the buttons are "repeatbuttons"? If you hold then down they keep on zooming.

Nov 11, 2009 at 7:02 PM

I am not keeping it down...just one click to zoom in jumps >9 levels...

Nov 12, 2009 at 5:28 AM

Try explicitly setting the Delay and Interval properties on the RepeatButton.


Nov 13, 2009 at 6:25 PM

It did not help!


Nov 14, 2009 at 5:33 AM


You can try using your own codes to control the zoom, simply do something like the following:

//Zoom in
//Zoom out
if (deMap.ZoomLevel > 0)

where deMap is an instance of the Map class