diff options
author | Wildemann Stefan <stefan.wildemann@corpuls.com> | 2019-09-19 10:56:37 +0200 |
---|---|---|
committer | Wildemann Stefan <stefan.wildemann@corpuls.com> | 2019-09-20 09:30:22 +0200 |
commit | 198bbb5cde457a8a44169556145fb9051b278f6a (patch) | |
tree | 5e7b3402e581ce3d04b9b60b44bc860eb65977b4 | |
parent | deccb6c4379e135ae45513a7bfef3b4998f24e94 (diff) | |
download | navit-198bbb5cde457a8a44169556145fb9051b278f6a.tar.gz |
Fix: layout_car: draw map features transparent on top
Some map featuresa re usually not put into multipolygons, but simple
tagged "on top" of the others. So It's quite common for example to
tag "poly_airport" on top of the underlying other landuses inside the
airport. Move (some) of those elements on top of the polygon draw stack
and make them transparent. Looks way better on graphics that support
transparency. Not much is lost on those that don't.
-rw-r--r-- | navit/navit_layout_car_shipped.xml | 52 |
1 files changed, 28 insertions, 24 deletions
diff --git a/navit/navit_layout_car_shipped.xml b/navit/navit_layout_car_shipped.xml index e772ab9f4..06281ae1e 100644 --- a/navit/navit_layout_car_shipped.xml +++ b/navit/navit_layout_car_shipped.xml @@ -70,10 +70,6 @@ <itemgra item_types="image" order="0-"> <image/> </itemgra> - <itemgra item_types="poly_nature_reserve" order="10-"> - <polygon color="#cedec6"/> - <text text_size="5"/> - </itemgra> <itemgra item_types="poly_glacier" order="10-"> <polygon color="#ddecec"/> <text text_size="5"/> @@ -86,10 +82,6 @@ <polygon color="#6a9993"/> <text text_size="5"/> </itemgra> - <itemgra item_types="poly_airfield" order="10-"> - <polygon color="#ecd3cf"/> - <text text_size="5"/> - </itemgra> <itemgra item_types="poly_university" order="8-"> <polygon color="#d68fb8"/> <polyline color="#881155"/> @@ -102,18 +94,6 @@ <polygon color="#01a36c"/> <text text_size="5"/> </itemgra> - <itemgra item_types="poly_theme_park" order="10-"> - <polygon color="#01a36c"/> - <text text_size="5"/> - </itemgra> - <itemgra item_types="poly_water_park" order="10-"> - <polygon color="#8cc1c8"/> - <text text_size="5"/> - </itemgra> - <itemgra item_types="poly_zoo" order="10-"> - <polygon color="#ccbda5"/> - <text text_size="5"/> - </itemgra> <itemgra item_types="poly_depot" order="10-"> <polygon color="#c2b098"/> <text text_size="5"/> @@ -275,7 +255,7 @@ <polyline color="#ffefb7"/> <text text_size="5"/> </itemgra> - <itemgra item_types="poly_flats,poly_scrub,poly_military_zone,poly_marine,plantation,tundra" order="9-"> + <itemgra item_types="poly_flats,poly_scrub,poly_marine,plantation,tundra" order="9-"> <polygon color="#a0a0a0"/> <text text_size="5"/> </itemgra> @@ -336,9 +316,6 @@ <polyline color="#dddddd" width="34"/> <polygon color="#dddddd"/> </itemgra> - <itemgra item_types="poly_airport" order="0-"> - <polygon color="#a0a0a0"/> - </itemgra> <itemgra item_types="poly_sport,poly_sports_pitch" order="0-"> <polygon color="#4af04f"/> </itemgra> @@ -490,6 +467,33 @@ <itemgra item_types="border_state" order="0-"> <polyline color="#808080" width="1"/> </itemgra> + <itemgra item_types="poly_zoo" order="10-"> + <polyline color="#ccbda599" width="10"/> + <text text_size="5"/> + </itemgra> + <itemgra item_types="poly_nature_reserve" order="10-"> + <polyline color="#cedec666" width="10"/> + <text text_size="5"/> + </itemgra> + <itemgra item_types="poly_theme_park" order="10-"> + <polyline color="#01a36c99" width="10"/> + <text text_size="5"/> + </itemgra> + <itemgra item_types="poly_water_park" order="10-"> + <polyline color="#8cc1c899" width="10"/> + <text text_size="5"/> + </itemgra> + <itemgra item_types="poly_military_zone" order="9-"> + <polygon color="#a0a0a044"/> + <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"/> + <text text_size="5"/> + </itemgra> </layer> <layer name="heightlines"> <itemgra item_types="height_line_1" order="7"> |