This commit is contained in:
parent
8c1634ff31
commit
72f52e1fef
@ -35,7 +35,7 @@ const is_restauration_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;
|
||||
}
|
||||
|
||||
@ -54,7 +54,7 @@ const icon_type = (item)=>{
|
||||
return 'parking';
|
||||
}else if(t=='water' || t=='river' || t=='lake' || t=='torrent' || t=='aquarium'){
|
||||
return 'water';
|
||||
}else if(t=='community_centre'){
|
||||
}else if(t=='community_centre' || t=='locality'){
|
||||
return 'building';
|
||||
}else if(t=='attraction'){
|
||||
return 'landmark';
|
||||
@ -64,7 +64,7 @@ const icon_type = (item)=>{
|
||||
return 'archway';
|
||||
}else if(t=='woodland'|| t=='shieling' || t=='national_park' || t=='zoo' || t=='park'){
|
||||
return 'tree';
|
||||
}else if(t=='water_park'){
|
||||
}else if(t=='water_park', t=='theme_park'){
|
||||
return 'dice-five';
|
||||
}else if(t=='?'){
|
||||
return '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user