Marker Click Event not Firing

Jun 8, 2009 at 8:08 PM

Any ideas why I can not get the click event to fire? Compiles fine, no runtime errors. Also, the mouseover tooltips are not working either. Maybe the issue is related?

{

gMapControl1.OnMarkerClick += new MarkerClick(gMapControl1_OnMarkerClick);

}

void gMapControl1_OnMarkerClick(GMapMarker item)
 {
         System.Diagnostics.Debug.WriteLine("Clicked:" + item.ToString());

 }

 

Thank you.

Coordinator
Jun 8, 2009 at 8:10 PM

set your marker area size

Jun 8, 2009 at 8:11 PM

Thanks for the quick response. I just figured it out and came back to post. Thank you very much!!!

Coordinator
Jun 8, 2009 at 8:11 PM

welcome ;}

Nov 3, 2009 at 9:36 AM

i have the same problem, but how can i set the marker area size? please write a code-example...

 

thx

Coordinator
Nov 3, 2009 at 12:15 PM

http://greatmaps.codeplex.com/wikipage?title=custom%20marker