- /
- /
- /
MarkersSymbolizer
Renders a symbol on a point coordinate.
Configuration options
Attribute | Default value | Allowed values | Description |
file | String containing the relative path to the file | The path to the texture file relative to the root folder given in the symbols configuration. | |
width | 14 | Float >= 0 | |
height | 14 | Float >= 0 | |
fill | #0000FF | #00FF00, #00FF00FF, rgba(0, 255, 0,1) |
|
allow-overlap | false | true, false | |
ignore-placement | false | true, false | |
stroke | #000000 | #00FF00, #00FF00FF, rgba(0, 255, 0,1) |
|
stroke-width | 1 | Float >= 0 | |
stroke-opacity | 1 | 0 – 1 | |
opacity | 1 | 0 – 1 | |
spacing | 100 | Float >= 0 | |
marker-type | String |
Example
<MarkersSymbolizer file=”symbols/amenity/hospital.svg” fill=”#bf0000″ /> | <MarkersSymbolizer file=”symbols/amenity/hospital.svg” fill=”#ff0000″ width=”40″ height=”40″ opacity=”0.4″ /> |