Description Usage Arguments Value Examples
View source: R/fct_basic_map.R
Title
1 2 3 4 5 6 7 8 9  | add_rivers_to_map(
  map,
  sfdata,
  group = "base",
  vlayerId = "ID",
  vcolor = NA,
  color = "grey",
  vpopup = "popup"
)
 | 
map | 
 a leaflet map  | 
sp | 
 the polylines spatial data corresponding to rivers that will be added to the leaflet map  | 
map with river lines
1 2  | basic_map() %>%
 add_rivers_to_map(sfdata=datsf ,vcolor=NA,vpopup="ID")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.