3.10.12. DotSymbolizer
…TODO…
Attribute | Type | Default | Description |
---|---|---|---|
|
float |
1.0 |
|
|
float |
1.0 |
|
|
color |
gray |
|
|
float |
1.0 |
|
|
string |
src-over |
TODO: "dot=list" (see http://mapnik.org/mapnik-reference/#3.0.22/dot )
Example 65. DotSymbolizer width-height
<?xml version="1.0" encoding="utf-8"?>
<Map background-color="white">
<FileSource name="symbols">./symbols</FileSource>
<Style name="style">
<Rule>
<DotSymbolizer height="[height]" width="[width]" fill="red"/>
<TextSymbolizer face-name="DejaVu Sans Book" allow-overlap="true" dy="20">[width]+","+[height]</TextSymbolizer>
</Rule>
</Style>
<Layer name="layer">
<StyleName>style</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
<Parameter name="inline">
wkt,width,height
"POINT(0 0)",10,10
"POINT(1 0)",20,10
"POINT(2 0)",10,20
</Parameter>
</Datasource>
</Layer>
</Map>