attraction-road
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
choelzl 2021-08-06 12:33:58 +02:00
parent 8c1634ff31
commit 72f52e1fef
Signed by: sora
GPG Key ID: A362EA0491E2EEA0

View File

@ -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 '';