paintRules: Styling options for PMTiles

View source: R/pmtiles.R

paintRulesR Documentation

Styling options for PMTiles

Description

Styling options for PMTiles

Usage

paintRules(
  layer,
  fillColor = "#0033ff66",
  color = "#0033ffcc",
  do_stroke = TRUE,
  width = 0.5,
  radius = 3,
  stroke = "#000000",
  opacity = 1,
  dash = NULL
)

Arguments

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 'NULL' (default) for a solid line or a numeric vector of length 2 denoting segment length and spce between segments (in pixels), e.g. 'c(5, 3)'


r-spatial/leafem documentation built on Nov. 1, 2024, 2:48 p.m.