TomSchimansky / TkinterMapView

A python Tkinter widget to display tile based maps like OpenStreetMap or Google Satellite Images.
Creative Commons Zero v1.0 Universal
596 stars 88 forks source link

Return event with marker in click #110

Open cultiplier opened 11 months ago

cultiplier commented 11 months ago

I think it could be useful to return the event when a marker is clicked. For example to get the xy coords. I could raise a PR if you agree, wouldn't take me long. (Could add the event as field to the marker class to be quick and dirty, or add a flag to the add marker command and check for it in the click function)