addIfExistMarkers: Add Leaflet Markers If They Exist

View source: R/funs-add_if_exists.R

addIfExistMarkersR Documentation

Add Leaflet Markers If They Exist

Description

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

Usage

addIfExistMarkers(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 leaflet::addCircleMarkers() or ggplot2::geom_sf()


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