ThinkGeo.com    |     Documentation    |     Premium Support

Zooming with mouse scroll wheel on Markers

Hi

I’ve made a sample where I’ve added a SimpleMarkerOverlay to the map, and one Marker to that SimpleMarkerOverlay. Now if I use my mouse scroll wheel to zoom in and out on the map it works as long as the mouse cursor is not positioned on top of the marker.
How can I make the mouse scroll wheel work as it normally do to zoom in and out when placed on the Marker.

I’m using ThinkGeo.UI.Wpf v12.3.14

Best regards
Jesper

hi Jesper,

I was working on a ticket(I guess it’s from you also), it looks like this issue was fixed by attaching scroll event to the marker.

Thanks,
Leo

Hi Leo,

Do you have a small example of this?

Br,
Herman.

Hi Herman,

Yes, We have. Feel free to download and give it a try.
MouseWheelOnMarker.zip (11.2 KB)

Thanks,
Leo