Create an SVG tag for the symbol

makeSymbol(
  shape,
  width,
  height = width,
  color,
  fillColor = color,
  opacity = 1,
  fillOpacity = opacity,
  ...
)

makeSymbolIcons(
  shape = c("rect", "circle", "triangle", "plus", "cross", "diamond", "star",
    "stadium", "line", "polygon"),
  color,
  fillColor = color,
  opacity,
  fillOpacity = opacity,
  strokeWidth = 1,
  width,
  height = width,
  ...
)

Arguments

shape

the desired shape of the symbol

width

in pixels

height

in pixels

color

color of the symbol

fillColor

fill color of symbol

opacity

opacity of color

fillOpacity

opacity of fillColor

...

arguments to be passed to svg shape tag

strokeWidth

width in pixels of symbol outline

Value

HTML svg element