This commit is contained in:
parent
8c1634ff31
commit
72f52e1fef
@ -35,7 +35,7 @@ const is_restauration_type = (item)=>{
|
|||||||
}
|
}
|
||||||
|
|
||||||
const is_attraction_type = (item)=>{
|
const is_attraction_type = (item)=>{
|
||||||
const arr = ["tourism", "leisure", "place", "amenity"];
|
const arr = ["tourism", "leisure", "place", "amenity", "highway"];
|
||||||
return arr.indexOf(item.category)!=-1;
|
return arr.indexOf(item.category)!=-1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -54,7 +54,7 @@ const icon_type = (item)=>{
|
|||||||
return 'parking';
|
return 'parking';
|
||||||
}else if(t=='water' || t=='river' || t=='lake' || t=='torrent' || t=='aquarium'){
|
}else if(t=='water' || t=='river' || t=='lake' || t=='torrent' || t=='aquarium'){
|
||||||
return 'water';
|
return 'water';
|
||||||
}else if(t=='community_centre'){
|
}else if(t=='community_centre' || t=='locality'){
|
||||||
return 'building';
|
return 'building';
|
||||||
}else if(t=='attraction'){
|
}else if(t=='attraction'){
|
||||||
return 'landmark';
|
return 'landmark';
|
||||||
@ -64,7 +64,7 @@ const icon_type = (item)=>{
|
|||||||
return 'archway';
|
return 'archway';
|
||||||
}else if(t=='woodland'|| t=='shieling' || t=='national_park' || t=='zoo' || t=='park'){
|
}else if(t=='woodland'|| t=='shieling' || t=='national_park' || t=='zoo' || t=='park'){
|
||||||
return 'tree';
|
return 'tree';
|
||||||
}else if(t=='water_park'){
|
}else if(t=='water_park', t=='theme_park'){
|
||||||
return 'dice-five';
|
return 'dice-five';
|
||||||
}else if(t=='?'){
|
}else if(t=='?'){
|
||||||
return '';
|
return '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user