diff --git a/public/js/main.js b/public/js/main.js index cae1193..45a8e7e 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -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 '';