addIfExistLines: Add Leaflet Polylines If They Exist

View source: R/funs-add_if_exists.R

addIfExistLinesR Documentation

Add Leaflet Polylines If They Exist

Description

Add polylines to a leaflet map if there is sufficient data.

Usage

addIfExistLines(map = NULL, data, map_format = "pdf", ...)

Arguments

map

a map widget object created from leaflet()

data

the data object from which the argument values are derived.

...

additional arguments passed to addPolylines()


capellett/scsf documentation built on Sept. 6, 2024, 7:46 a.m.