Description Usage Arguments Details Examples
Import sld template
1 | import_template(template, ...)
|
template |
name of template |
... |
named arguments |
For every named argument, name = value
, replace {{ name }}
in styles/<template.sld
with value
.
1 2 3 4 5 6 7 | import_template(
"outline_with_label",
name = "mb2018outline", strokeColor = "#000000", strokeWidth = 1,
maxScale = 600000, geometryName = "geom", labelName = "code",
fontFamily = "Arial", fonSize = 10, fontStyle = "normal",
fontWeight = "bold", fontColor = "#000000"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.