Skip to content

Interaction events  #12

Description

@cardinalgeo

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions