Marker overlap problem

Topics: Windows Forms
Mar 2, 2012 at 8:04 AM


I have two markers that overlap, i.e. the first one is almost completely hidden by the second one that was added last.

When I place the mouse pointer over the markers, I receive the OnMarkerEnter event for the second marker. When i click on the marker, the OnMarkerClick event refers to the first marker. How can I achieve that both the OnMarkerEnter and OnMarkerClick events refer to the same marker?   


Mar 2, 2012 at 8:42 AM

to be really sure save marker on enter event and compare it with click event