Mouse Wheel problem

Jul 16, 2010 at 10:21 AM

Good day.

In WPF GMapControl present next 2 problems with mousewheel event:

1. If tile not loaded (empty) and mouse point in it - mousewheel zoom not work

2. If mouse cursor placed on marker / overlay - mousewheel zoom not work

Problem can be restored in your last demo also in last sources too.


Jul 16, 2010 at 11:06 AM
Edited Jul 16, 2010 at 11:40 AM

1. any ideas how to fix?

2. why it should, and if you want to, you can set IsHitTestVisible to false on your marker shape.

Jul 16, 2010 at 11:31 AM

1. :(

2. It should at least to provide user friendly interface, if you run your bus example and try focus in to center of Vilnius - first you will need work hard to find clear sapce. Don't think that overlay with scrolling will more usable / popular so need left mousewheel on it.

About HitTest - any example please.

Jul 16, 2010 at 11:40 AM

1. ;{ does nothing

2. you can drag map even when you mouse is over marker in wpf version

p.s. IsHitTestVisible

Jul 16, 2010 at 11:51 AM
Edited Jul 16, 2010 at 11:52 AM

Yes drag work well, but mouse wheel zoom - not :(

:( sorry but mouse click on marker - required. So suggestion with HitTest not work.

Jul 16, 2010 at 1:05 PM


Jul 18, 2010 at 5:02 PM

I see you start recreate control over UserControl. Maybe it's can fix problem with unload tie and wheel?

Or GMapControlNew.xaml created for other purpose?

Jul 18, 2010 at 5:16 PM

it will use more optimized rendering, maybe in 2012 it stars working ;}