shiny-events | R Documentation |
Utilities for retrieving map event data in a shiny application.
get_view_bounds(rdeck, session = shiny::getDefaultReactiveDomain())
get_view_state(rdeck, session = shiny::getDefaultReactiveDomain())
get_clicked_coordinates(rdeck, session = shiny::getDefaultReactiveDomain())
get_clicked_layer(rdeck, session = shiny::getDefaultReactiveDomain())
get_clicked_object(rdeck, session = shiny::getDefaultReactiveDomain())
get_edited_features(rdeck, session = shiny::getDefaultReactiveDomain())
rdeck |
< |
session |
< |
get_view_bounds()
: Get the current map bounding box
get_view_state()
: Get the map view state
get_clicked_coordinates()
: Get the last clicked coordinates
get_clicked_layer()
: Get the last clicked layer (or NULL)
get_clicked_object()
: Get the last clicked object (or NULL)
get_edited_features()
: Get the edited features
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.