forked from mapnik/test-data-visual
-
Notifications
You must be signed in to change notification settings - Fork 0
/
simple-anchor.xml
62 lines (59 loc) · 1.67 KB
/
simple-anchor.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map>
<Map background-color="white" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<StyleName>My Style</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
<Parameter name="extent">-0.05, -0.01, 0.95, 0.01</Parameter>
<Parameter name="file">../../data/csv/points.csv</Parameter>
</Datasource>
</Layer>
<Style name="My Style">
<Rule>
<Filter>[name] = 'Test five'</Filter>
<MarkersSymbolizer key="[name]" />
<TextSymbolizer
face-name="DejaVu Sans Book"
size="16"
placement="point"
placement-type="simple"
placements="SE"
anchor-key="[name]"
>
"Multiline\ntext"
</TextSymbolizer>
<TextSymbolizer
face-name="DejaVu Sans Book"
size="16"
placement="point"
placement-type="simple"
placements="NE"
anchor-key="[name]"
>
"Multiline\ntext"
</TextSymbolizer>
<TextSymbolizer
face-name="DejaVu Sans Book"
size="16"
placement="point"
placement-type="simple"
placements="NW"
anchor-key="[name]"
>
"Multiline\ntext"
</TextSymbolizer>
<TextSymbolizer
face-name="DejaVu Sans Book"
size="16"
placement="point"
placement-type="simple"
placements="SW"
anchor-key="[name]"
>
"Multiline\ntext"
</TextSymbolizer>
<DebugSymbolizer />
</Rule>
</Style>
</Map>