summaryrefslogtreecommitdiff
path: root/navit/navit_layout_car_shipped.xml
diff options
context:
space:
mode:
authorStefan Wildemann <metalstrolch@users.noreply.github.com>2022-01-01 14:12:44 +0100
committerGitHub <noreply@github.com>2022-01-01 14:12:44 +0100
commit17f1a6ec6aebbc51a67be6ac6064d231ce02a62e (patch)
treeade88ff515cba3763fc9ac00ec2f0a392ec32ba5 /navit/navit_layout_car_shipped.xml
parent13e550f93052ef6d51fcbde76cd6796a3cc6bb4e (diff)
downloadnavit-17f1a6ec6aebbc51a67be6ac6064d231ce02a62e.tar.gz
feature: graphics: allow spiked lines for cliff and embarkments (#1174)
* feature: graphics: allow spiked lines for cliff and embarkments This adds another drwing element to graphics system. It can produce lines with spikes as used for cliffs on maps. Additionally this adds embarlment support for map. * review fixes. Add changes requested by review, plus add paranoia check on xml parameter.
Diffstat (limited to 'navit/navit_layout_car_shipped.xml')
-rw-r--r--navit/navit_layout_car_shipped.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/navit/navit_layout_car_shipped.xml b/navit/navit_layout_car_shipped.xml
index 3c25259c1..a9d7a62fe 100644
--- a/navit/navit_layout_car_shipped.xml
+++ b/navit/navit_layout_car_shipped.xml
@@ -1361,9 +1361,17 @@
<itemgra item_types="rail_tram" order="10-">
<polyline color="#606060" width="2"/>
</itemgra>
- <itemgra item_types="cliff" order="12-">
+ <itemgra item_types="wall,retaining_wall" order="12-">
<polyline color="#606060" width="1"/>
</itemgra>
+ <itemgra item_types="cliff,embankment" order="12-16">
+ <polyline color="#606060" width="1"/>
+ <spikes color="#606060" width="5" distance="4"/>
+ </itemgra>
+ <itemgra item_types="cliff,embankment" order="17-">
+ <polyline color="#606060" width="1"/>
+ <spikes color="#606060" width="20" distance="10"/>
+ </itemgra>
</layer>
<layer name="labels">
<itemgra item_types="house_number" order="15-">