paintRules | R Documentation |
Styling options for PMTiles
paintRules(
layer,
fillColor = "#0033ff66",
color = "#0033ffcc",
do_stroke = TRUE,
width = 0.5,
radius = 3,
stroke = "#000000",
opacity = 1,
dash = NULL
)
layer |
the name of the layer in the PMTiles file to visualise. |
fillColor |
fill color for polygons |
color |
line color |
do_stroke |
logical, whether polygon borders should be drawn |
width |
line width |
radius |
point radius |
stroke |
color point border |
opacity |
point opacity |
dash |
either |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.