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
Map view state #57
Comments
My question maybe goes deeper, I'm wondering about retrieving any type of information from the deck to R, so that the zoom, bbox, a click event, etc. can be used as an input in other R calculations. There's the |
Currently,
|
Great work! Thanks! |
Not finished yet. View state bounds is broken for the |
- add additional viewstate fields - bounds outside viewstate object - add R functions for retrieving event data
I've added getter utilities for retrieving event data from the map in shiny. The magic string approach will still work, but consider that to be a private api. Event names and payload structure may change in future. |
Hello Anthony!
Maybe you've already implemented this: is there a way to retrieve the view states from the map in R, at the moment with rdeck? States such as zoom and central point. Mapdeck does this with
input${map_id}_view_change
, I guess usingonViewStateChange
function from deck.gl.And thanks for your package!
The text was updated successfully, but these errors were encountered: