Hey folks!
I'd like to be able to set up interaction events where a mouse click outputs the coordinates of the click position. The leaflet documentation here indicates this is possible on their side, as is the case for vue-leaflet (e.g., tip in the docs here and example here). However, I've been unable to get this working in trame-leaflet. What is required to set this up (e.g., how do I pass the function corresponding to the event click, for say, LMap)?
Hey folks!
I'd like to be able to set up interaction events where a mouse click outputs the coordinates of the click position. The
leafletdocumentation here indicates this is possible on their side, as is the case forvue-leaflet(e.g., tip in the docs here and example here). However, I've been unable to get this working intrame-leaflet. What is required to set this up (e.g., how do I pass the function corresponding to the eventclick, for say,LMap)?