Polygon.MouseLeave - Event not firing when Map is moved

Oct 19, 2009 at 3:58 PM

Hi folks,

 

I have a layer with some polygons on my map. I use the MouseLeave/Enter-Event to change the appearance of the polygone which is currently "under the mouse". Now it happens, that the layer is moved via map.SetViewCenter(). When I have a poly under my mouse at that moment and the polygon moves away from the mouse because of the change of the Viewcenter, the MouseLeave-Event doesn't fire and the poly stays marked as "under the mouse".

 

Is there any way to detect that the poly is moved away from the mouse or maybe to let the event fire when the mouse "leaves" because of the poly-movement?

 

Thanks in advance,

Frank