summaryrefslogtreecommitdiff
path: root/navit
diff options
context:
space:
mode:
authormdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-01-27 18:41:12 +0000
committermdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-01-27 18:41:12 +0000
commit76d26743fc55db8a30a5f102975c5e1be807a52b (patch)
tree88c886a1ec150608e44fa68f4003c4036194ce85 /navit
parente8824ad571925f1698bbe366a94e1c385c7c6810 (diff)
downloadnavit-76d26743fc55db8a30a5f102975c5e1be807a52b.tar.gz
Add:core:Made footway names visible and searcheable in Town submenu. Fixes #847
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4912 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit')
-rw-r--r--navit/item.h3
-rw-r--r--navit/navit_shipped.xml10
2 files changed, 7 insertions, 6 deletions
diff --git a/navit/item.h b/navit/item.h
index 89e1c439c..4640b712d 100644
--- a/navit/item.h
+++ b/navit/item.h
@@ -55,7 +55,8 @@ extern int default_flags[];
#define item_is_custom_poi(item) ((item).type >= type_poi_custom0 && (item).type < type_line)
#define item_is_street(item) (((item).type >= type_street_0 && (item).type < type_street_1_land) \
|| (item).type == type_street_pedestrian \
- || (item).type == type_living_street)
+ || (item).type == type_living_street \
+ || (item).type == type_footway)
#define item_is_equal_id(a,b) ((a).id_hi == (b).id_hi && (a).id_lo == (b).id_lo)
#define item_is_equal(a,b) (item_is_equal_id(a,b) && (a).map == (b).map)
diff --git a/navit/navit_shipped.xml b/navit/navit_shipped.xml
index 2d26eab49..00500d9ef 100644
--- a/navit/navit_shipped.xml
+++ b/navit/navit_shipped.xml
@@ -1487,7 +1487,7 @@ Navigation</text></img>
<itemgra item_types="street_2_city,street_2_land,street_3_city,street_3_land,ramp" order="11-18">
<text text_size="9"/>
</itemgra>
- <itemgra item_types="street_nopass,street_0,street_1_city,street_1_land" order="12-18">
+ <itemgra item_types="street_nopass,street_0,street_1_city,street_1_land,footway" order="12-18">
<text text_size="9"/>
</itemgra>
<itemgra item_types="traffic_distortion" order="2">
@@ -2941,7 +2941,7 @@ Navigation</text></img>
<itemgra item_types="street_2_city,street_2_land,street_3_city,street_3_land,ramp" order="11-18">
<text text_size="9" color="#55c4bd"/>
</itemgra>
- <itemgra item_types="street_nopass,street_0,street_1_city,street_1_land" order="12-18">
+ <itemgra item_types="street_nopass,street_0,street_1_city,street_1_land,footway" order="12-18">
<text text_size="9" color="#55c4bd"/>
</itemgra>
</layer>
@@ -4178,7 +4178,7 @@ Navigation</text></img>
order="13-18">
<text text_size="9" />
</itemgra>
- <itemgra item_types="street_nopass,street_0,street_1_city,street_1_land"
+ <itemgra item_types="street_nopass,street_0,street_1_city,street_1_land,fotway"
order="13-18">
<text text_size="9" />
</itemgra>
@@ -5002,7 +5002,7 @@ Navigation</text></img>
<itemgra item_types="water_line" order="11-">
<text text_size="16" color="#0000ff" />
</itemgra>
- <itemgra item_types="street_1_city,street_2_city,street_3_city,street_4_city,highway_city,street_1_land,street_2_land,street_3_land,street_4_land,street_n_lanes,highway_land,living_street">
+ <itemgra item_types="street_1_city,street_2_city,street_3_city,street_4_city,highway_city,street_1_land,street_2_land,street_3_land,street_4_land,street_n_lanes,highway_land,living_street,footway">
<text text_size="16" color="#ffffff" background_color="#000000"/>
</itemgra>
<itemgra item_types="town_label,district_label,town_label_0e0,town_label_1e0,town_label_2e0,town_label_5e0,town_label_1e1,town_label_2e1,town_label_5e1,town_label_1e2,town_label_2e2,town_label_5e2,district_label_0e0,district_label_1e0,district_label_2e0,district_label_5e0,district_label_1e1,district_label_2e1,district_label_5e1,district_label_1e2,district_label_2e2,district_label_5e2" order="10-">
@@ -6423,7 +6423,7 @@ Navigation</text></img>
<itemgra item_types="street_2_city,street_2_land,street_3_city,street_3_land,ramp" order="11-18">
<text text_size="9"/>
</itemgra>
- <itemgra item_types="street_nopass,street_0,street_1_city,street_1_land" order="12-18">
+ <itemgra item_types="street_nopass,street_0,street_1_city,street_1_land,footway" order="12-18">
<text text_size="9"/>
</itemgra>
<!-- place=suburb -->