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)
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)