setShapeStyle from https://github.com/rstudio/leaflet/pull/598
Source:R/leaflet_inplace.R
setShapeStyle.Rd
setShapeStyle from https://github.com/rstudio/leaflet/pull/598
Usage
setShapeStyle(
map,
data = leaflet::getMapData(map),
layerId,
stroke = NULL,
color = NULL,
weight = NULL,
opacity = NULL,
fill = NULL,
fillColor = NULL,
fillOpacity = NULL,
dashArray = NULL,
smoothFactor = NULL,
noClip = NULL,
options = NULL
)
Arguments
- map
Leaflet map object
- data
Leaflet map data
- layerId
Layer to manipulate
- stroke
Stroke (bool)
- color
Shape color
- weight
Stroke weight (line width)
- opacity
Stroke opacity
- fill
Shape fill (bool)
- fillColor
Fill color
- fillOpacity
Fill opacity
- dashArray
NULL
- smoothFactor
Should shapes and colors be smooth
- noClip
Allow clipping
- options
Leaflet options