Skip to contents

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

Usage

setCircleMarkerStyle(
  map,
  layerId,
  radius = NULL,
  stroke = NULL,
  color = NULL,
  weight = NULL,
  opacity = NULL,
  fill = NULL,
  fillColor = NULL,
  fillOpacity = NULL,
  dashArray = NULL,
  options = NULL,
  data = leaflet::getMapData(map)
)

Arguments

map

Leaflet map object

layerId

Layer id

radius

Cicle radius

stroke

Stoke

color

Stroke color

weight

Stroke weight (width)

opacity

Stroke opacity

fill

Circle fill

fillColor

Circle fill color

fillOpacity

Circle fill opacity

dashArray

NULL

options

Leaflet options

data

Leaflet map data