add_rivers_to_map: Title

Description Usage Arguments Value Examples

View source: R/fct_basic_map.R

Description

Title

Usage

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"
)

Arguments

map

a leaflet map

sp

the polylines spatial data corresponding to rivers that will be added to the leaflet map

Value

map with river lines

Examples

1
2
basic_map() %>%
 add_rivers_to_map(sfdata=datsf ,vcolor=NA,vpopup="ID")

lvaudor/mapdO documentation built on March 9, 2021, 5:29 p.m.