spLayer.SpatialLines | R Documentation |
Define a Vector Data Layer
## S3 method for class 'SpatialLines'
spLayer(
x,
name = NULL,
stroke = TRUE,
stroke.col = 1,
stroke.lwd = 1,
stroke.lty = -1,
stroke.alpha = 1,
label = NULL,
popup = "",
popup.rmd = FALSE,
legend = NULL,
...
)
x |
a spatial object (see Details). |
name |
a character string to name the layer. |
stroke |
logical. Should a stroke be drawn along lines and polygons? |
stroke.col |
a vector of any of the three kinds of R color specifications to set strokes color. |
stroke.lwd |
a numerical vector to set strokes width. |
stroke.lty |
a character vector that defines the strokes dash patterns (See Details). |
stroke.alpha |
a vector of numeric values in |
label |
a reserved argument (in development). |
popup |
a character vector giving contents for popups. HTML tags are accepted. |
popup.rmd |
a logical indicating whether the popups should be processed as R Markdown with knitr. Default |
legend |
a legend object created with |
... |
additional arguments to pass to the function. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.