Displaying 1 result from an estimated 1 matches for "selectmap".
Did you mean:
sectmap
2018 Feb 23
0
Mapedit::selectMap in shiny map.
I would like to select polygons from an existing spatial polygon data set
interactively in a shiny leaflet map.
The process is straightforward in leaflet/ mapedit, however I need to
include the procedure in a shiny app map interface. I cannot work out how
to incorporate the selectMap() in the shiny app. An error is returned:
Here is some toy code showing the code in using leaflet locally:
library(mapedit)
library(leaflet)
options(stringsAsFactors = F)
bounds <- c(5.956063, 10.49511, 45.81706, 47.80848 )
lf <- leaflet() %>%
addTiles()%>%
addPolygons(data =gadmCHE,...