Skip to content

Is it possible to get the coordinate where a user clicks in the map? #633

Answered by kylebarron
ATL2001 asked this question in Q&A
Discussion options

You must be logged in to vote

This is not currently possible. We don't expose an on_click handler, though we could.

The JS side exposes the screen coordinate clicked, and then we'd have to map back to geospatial coordinate for the user.

If you're interested in contributing this, I can point you to how it could be implemented.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ATL2001
Comment options

Answer selected by ATL2001
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants