setShapeStyle: setShapeStyle from...

View source: R/leaflet_inplace.R

setShapeStyleR Documentation

setShapeStyle from https://github.com/rstudio/leaflet/pull/598

Description

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


appliedbinf/c19r-app documentation built on April 27, 2023, 11:54 p.m.