Show label when click at marker

i have some points , i have already add marker for this points by this example
https://www.mapwindow.org/documentation/mapwingis4.9/_mark_points_8cs-example.html

i want when i click to one marker it will show something belong to clicked marker (ex: lat,lon, or some text)
i try to do that with this example
https://www.mapwindow.org/documentation/mapwingis4.8/_tool_tip_8cs-example.html
but it not work it not fire event when i click to my marker (it’s fire when i click everything in my shapefile)
can u help me thanks

1 Like

Hello @shinnobi

Could you post the code you are using the trap the click and try to locate the marker?

The ‘ToolTip’ sample code finds polygons that intersect the mouse point. To identify point features (your markers), you need to create a polygon (a buffer) around your mouse click, and test the points for ‘inclusion’ in the buffer. Does that make sense?

Regards,
Jerry.

1 Like

How to make buffer in order to detect marker on the map?