OnMarkerClick event not fired when DragButton = MouseButtons.Left

Jun 16, 2009 at 1:35 PM

Hello Radioman, I tried latest sources and I found bug, when GMapControl.OnMarkerClick event is not fired when I set property GMapControl.DragButton to MouseButtons.Left. It is because Core.IsDragging is always true and code which should fire OnMarkerClick event is skipped. When I removed contition !Core.IsDragging, event OnMarkerClick was again fired, but I am not sure if there is no side effect. Could you check it?


 protected override void OnMouseClick(MouseEventArgs e)
if(e.Button == MouseButtons.Left && !Core.IsDragging)
for(int i = Overlays.Count-1; i >= 0; i--)




Jun 16, 2009 at 4:30 PM