summaryrefslogtreecommitdiff
path: root/navit/navit_layout_car_shipped.xml
diff options
context:
space:
mode:
authorStefan Wildemann <metalstrolch@users.noreply.github.com>2020-06-15 14:16:55 +0200
committerGitHub <noreply@github.com>2020-06-15 14:16:55 +0200
commit173fb1a0ae96056667afadd2fa3c90365bef0b06 (patch)
treea0e57c89b0b647f3748b14369a387fcaaaa7f75d /navit/navit_layout_car_shipped.xml
parentb6e75bdac1ef6912a80776cbec3e367ec17a1b4d (diff)
downloadnavit-173fb1a0ae96056667afadd2fa3c90365bef0b06.tar.gz
Enhancement:layout_car:Add stripes to danger_area (#1020)
Add red diagonal stripes to danger_area. Only visible on graphics supporting textured polygon.
Diffstat (limited to 'navit/navit_layout_car_shipped.xml')
-rw-r--r--navit/navit_layout_car_shipped.xml9
1 files changed, 5 insertions, 4 deletions
diff --git a/navit/navit_layout_car_shipped.xml b/navit/navit_layout_car_shipped.xml
index 6f4dee338..44e321c80 100644
--- a/navit/navit_layout_car_shipped.xml
+++ b/navit/navit_layout_car_shipped.xml
@@ -189,10 +189,6 @@
<polygon color="#998877"/>
<text text_size="5"/>
</itemgra>
- <itemgra item_types="poly_danger_area" order="10-">
- <polygon color="#f2ba1b"/>
- <text text_size="5"/>
- </itemgra>
<itemgra item_types="poly_common" order="10-">
<polygon color="#7bab36"/>
<text text_size="5"/>
@@ -516,6 +512,11 @@
<polygon color="#ecd3cf66"/>
<text text_size="5"/>
</itemgra>
+ <itemgra item_types="poly_danger_area" order="8-">
+ <polygon color="#f2ba1b33" src="diagonal-stripes.png" w="16" h="16"/>
+ <polyline color="#ff0000b5"/>
+ <text text_size="5"/>
+ </itemgra>
</layer>
<layer name="heightlines">
<itemgra item_types="height_line_1" order="7">