summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Wildemann <gta04@metalstrolche.de>2020-06-15 14:14:20 +0200
committerStefan Wildemann <gta04@metalstrolche.de>2020-06-15 14:14:20 +0200
commit200756c9f4dbf94ec51871de71034850073026b8 (patch)
tree881a2a897c9985221f37392290502eea8af18b43
parentca6ea4ba6e46f1112dc4ff98eee0d1908bfe5ceb (diff)
downloadnavit-200756c9f4dbf94ec51871de71034850073026b8.tar.gz
Enhancement:layout_car:add stripesto military areas
-rw-r--r--navit/navit_layout_car_shipped.xml8
-rw-r--r--navit/textures/diagonal-stripes-gray.svg70
2 files changed, 75 insertions, 3 deletions
diff --git a/navit/navit_layout_car_shipped.xml b/navit/navit_layout_car_shipped.xml
index 6f4dee338..127c9dd0d 100644
--- a/navit/navit_layout_car_shipped.xml
+++ b/navit/navit_layout_car_shipped.xml
@@ -505,15 +505,17 @@
<polyline color="#8cc1c899" width="10"/>
<text text_size="5"/>
</itemgra>
- <itemgra item_types="poly_military_zone" order="9-">
- <polygon color="#a0a0a044"/>
+ <itemgra item_types="poly_military_zone,poly_military" order="9-">
+ <polygon color="#a0a0a044" src="diagonal-stripes-gray.png" w="16" h="16"/>
+ <polyline color="#969696b5" width="1"/>
<text text_size="5"/>
</itemgra>
<itemgra item_types="poly_airport" order="0-">
<polygon color="#a0a0a066"/>
</itemgra>
<itemgra item_types="poly_airfield" order="10-">
- <polygon color="#ecd3cf66"/>
+ <polygon color="#ecd3cf66" src="diagonal-stripes-gray.png" w="16" h="16"/>
+ <polyline color="#969696b5" width="1"/>
<text text_size="5"/>
</itemgra>
</layer>
diff --git a/navit/textures/diagonal-stripes-gray.svg b/navit/textures/diagonal-stripes-gray.svg
new file mode 100644
index 000000000..7b6858521
--- /dev/null
+++ b/navit/textures/diagonal-stripes-gray.svg
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="16"
+ height="16"
+ viewBox="0 0 16 16"
+ version="1.1"
+ id="svg8"
+ inkscape:version="0.92.4 5da689c313, 2019-01-14"
+ sodipodi:docname="diagonal-stripes-gray.svg">
+ <defs
+ id="defs2" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="31.678384"
+ inkscape:cx="7.1319523"
+ inkscape:cy="7.0756723"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ units="px"
+ inkscape:window-width="1889"
+ inkscape:window-height="1025"
+ inkscape:window-x="31"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata5">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Ebene 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(0,93.566687)">
+ <path
+ style="fill:none;stroke:#969696;stroke-width:1.0015748;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.70980394;opacity:1"
+ d="m 0,-81.566687 12,-12"
+ id="path817"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="cc" />
+ <path
+ style="fill:none;stroke:#969696;stroke-width:1.0015748;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.70980394;opacity:1"
+ d="m 12,-77.566687 4,-4"
+ id="path821"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="cc" />
+ </g>
+</svg>