addIfExistPolygons: Add Leaflet Polygons If They Exist

View source: R/funs-add_if_exists.R

addIfExistPolygonsR Documentation

Add Leaflet Polygons If They Exist

Description

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

Usage

addIfExistPolygons(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 addPolygons()


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