diff --git a/icons/poi_fire_station.svg b/icons/poi_fire_station.svg new file mode 100644 index 000000000..e31d63c78 --- /dev/null +++ b/icons/poi_fire_station.svg @@ -0,0 +1,4 @@ + + + + diff --git a/scripts/taginfo_template.json b/scripts/taginfo_template.json index 1310dcc3f..70a362a43 100644 --- a/scripts/taginfo_template.json +++ b/scripts/taginfo_template.json @@ -589,6 +589,14 @@ "doc_url": "https://openmaptiles.org/schema/#poi", "icon_url": "https://raw.githubusercontent.com/ZeLonewolf/openstreetmap-americana/main/icons/poi_police_shield.svg" }, + { + "key": "amenity", + "value": "fire_station", + "object_types": ["node", "area"], + "description": "Fire stations are marked by an icon representing a firefighter's badge.", + "doc_url": "https://openmaptiles.org/schema/#poi", + "icon_url": "https://raw.githubusercontent.com/ZeLonewolf/openstreetmap-americana/main/icons/poi_fire_station.svg" + }, { "key": "amenity", "value": "townhall", diff --git a/src/layer/poi.js b/src/layer/poi.js index d9a5ddbcc..8fc48fc6b 100644 --- a/src/layer/poi.js +++ b/src/layer/poi.js @@ -83,6 +83,14 @@ var iconDefs = { color: Color.poi.consumer, description: "Gas station", }, + fire_station: { + classes: { + fire_station: ["fire_station"], + }, + sprite: "poi_fire_station", + color: Color.poi.infrastructure, + description: "Fire station", + }, hospital: { classes: { hospital: ["hospital"], @@ -342,6 +350,7 @@ export const poi = { Color.poi.attraction, [ "hospital", + "fire_station", "parking", "police", "school", @@ -376,6 +385,7 @@ export const poi = { 14, [ "bus_stop", + "fire_station", "hospital", "library", "museum",