Description Usage Arguments Examples
View source: R/mapping_functions.R
Sub-function use to find which stations are in the polygon the user has drawn
1 | which_station_in_polygon(stations, map_selection)
|
stations |
It is a global variable in the Shiny App but is included here as a parameter for general use. See global.R for the data preparation |
map_selection |
1 2 | As used in the "mapModule_polygonFeature" server module:
selected_stations_indices <- reactive(which_station_in_polygon(stations, input$map_draw_all_features$features))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.