radioman / greatmaps

GMap.NET - Great Maps for Windows Forms & Presentation
912 stars 408 forks source link

Conflict between MouseClick and OnPolygonClick #130

Open lordofscripts opened 5 years ago

lordofscripts commented 5 years ago

I defined the GMap MouseClick event handler because I use it to drop new markers. Later on I added support for creating polygons on my map. As per the tutorial on Independent Software I implemented the OnPolygonClick event handler.

When I run my application and create a polygon, then I put the mouse within the polygon and click on it and I see that the MouseClick event is fired but the OnPolygonClick is not. Am I missing something here or is there a conflict between both handlers?