Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return coordinates with map click event #379

Open
Zekiye-VAP opened this issue Apr 8, 2024 · 1 comment
Open

Return coordinates with map click event #379

Zekiye-VAP opened this issue Apr 8, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Zekiye-VAP
Copy link

Was wondering if it is possible to build in a feature that returns the lat and lon coordinates of a click event on a map? The goal would be to allow the user to click on the map and have a new point feature added in that place based on the returned coordinates.

Similar examples
I have found a working example using the tmap package
https://stackoverflow.com/questions/76335139/add-location-to-interactive-map-with-a-click-using-tmap-package-and-r-shiny

@Zekiye-VAP Zekiye-VAP added the enhancement New feature or request label Apr 8, 2024
@dcooley
Copy link
Collaborator

dcooley commented Apr 8, 2024

I added this a few days ago into the master branch, but didn't record it as an issue - https://github.com/SymbolixAU/mapdeck/blob/master/NEWS.md#v036

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants