TomSchimansky / TkinterMapView

A python Tkinter widget to display tile based maps like OpenStreetMap or Google Satellite Images.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Return event with marker in click

cultiplier opened this issue · comments

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)