Last small fixes to hailhydrant theme

This commit is contained in:
pietervdvn 2021-04-12 16:54:53 +02:00
parent 7872282816
commit 765f3d5e80
2 changed files with 38 additions and 60 deletions

View file

@ -27,10 +27,12 @@
"en": "Map of hydrants" "en": "Map of hydrants"
}, },
"minzoom": 14, "minzoom": 14,
"overpassTags": { "source": {
"and": [ "osmTags": {
"emergency=fire_hydrant" "and": [
] "emergency=fire_hydrant"
]
}
}, },
"title": { "title": {
"render": { "render": {
@ -196,18 +198,11 @@
"en": "Fire hydrant" "en": "Fire hydrant"
}, },
"description": { "description": {
"en": "Add a new fire hydrant to the map." "en": "A hydrant is a connection point where firefighters can tap water. It might be located underground."
} }
} }
], ],
"wayHandling": 1, "wayHandling": 2
"osmSource": {
"overpassTags": {
"and": [
"emergency=fire_hydrant"
]
}
}
}, },
{ {
"id": "extinguisher", "id": "extinguisher",
@ -215,10 +210,12 @@
"en": "Map of fire extinguishers." "en": "Map of fire extinguishers."
}, },
"minzoom": 14, "minzoom": 14,
"overpassTags": { "source": {
"and": [ "osmTags": {
"emergency=fire_extinguisher" "and": [
] "emergency=fire_extinguisher"
]
}
}, },
"title": { "title": {
"render": { "render": {
@ -286,30 +283,26 @@
"en": "Fire extinguisher" "en": "Fire extinguisher"
}, },
"description": { "description": {
"en": "Add a fire extinguisher to the map" "en": "A fire extinguisher is a small, portable device used to stop a fire"
} }
} }
], ],
"wayHandling": 1, "wayHandling": 1
"osmSource": {
"overpassTags": {
"and": [
"emergency=fire_extinguisher"
]
}
}
}, },
{ {
"id": "stations", "id": "fire_stations",
"name": { "name": {
"en": "Map of fire stations" "en": "Map of fire stations"
}, },
"minzoom": 12, "minzoom": 12,
"overpassTags": { "source": {
"and": [ "osmTags": {
"amenity=fire_station" "and": [
] "amenity=fire_station"
]
}
}, },
"wayHandling": 2,
"title": { "title": {
"render": { "render": {
"en": "Fire Station" "en": "Fire Station"
@ -436,13 +429,13 @@
"render": "./assets/themes/hailhydrant/Twemoji12_1f692.svg" "render": "./assets/themes/hailhydrant/Twemoji12_1f692.svg"
}, },
"width": { "width": {
"render": "8" "render": "1"
}, },
"iconSize": { "iconSize": {
"render": "35,35,center" "render": "35,35,center"
}, },
"color": { "color": {
"render": "#00f" "render": "#c22"
}, },
"presets": [ "presets": [
{ {
@ -453,17 +446,10 @@
"en": "Fire station" "en": "Fire station"
}, },
"description": { "description": {
"en": "Add a fire station to the map." "en": "A fire station is a place where the fire trucks and firefighters are located when not in operation."
} }
} }
], ]
"osmSource": {
"overpassTags": {
"and": [
"amenity=fire_station"
]
}
}
}, },
{ {
"id": "rescuestation", "id": "rescuestation",
@ -471,10 +457,12 @@
"en": "Map of rescue stations" "en": "Map of rescue stations"
}, },
"minzoom": 12, "minzoom": 12,
"overpassTags": { "source": {
"and": [ "osmTags": {
"amenity=rescue_station" "and": [
] "amenity=rescue_station"
]
}
}, },
"title": { "title": {
"render": { "render": {
@ -503,7 +491,7 @@
"render": "./assets/themes/hailhydrant/Twemoji12_26d1.svg" "render": "./assets/themes/hailhydrant/Twemoji12_26d1.svg"
}, },
"width": { "width": {
"render": "8" "render": "1"
}, },
"iconSize": { "iconSize": {
"render": "35,35,center" "render": "35,35,center"
@ -511,7 +499,7 @@
"color": { "color": {
"render": "#00f" "render": "#00f"
}, },
"presets": [ "presets-disabled": [
{ {
"tags": [ "tags": [
"amenity=rescue_station" "amenity=rescue_station"
@ -524,13 +512,7 @@
} }
} }
], ],
"osmSource": { "wayHandling": 2
"overpassTags": {
"and": [
"amenity=rescue_station"
]
}
}
} }
], ],
"defaultBackgroundId": "HDM_HOT" "defaultBackgroundId": "HDM_HOT"

View file

@ -11,13 +11,10 @@
}, },
{ {
"authors": [ "authors": [
"https://twemoji.twitter.com/" "Twemoji Project"
], ],
"path": "Twemoji12_1f9ef.svg", "path": "Twemoji12_1f9ef.svg",
"license": "CC-BY 4.0", "license": "CC-BY 4.0",
"authors": [
"Twemoji Project"
],
"sources": [ "sources": [
"https://upload.wikimedia.org/wikipedia/commons/9/9b/Twemoji12_1f9ef.svg", "https://upload.wikimedia.org/wikipedia/commons/9/9b/Twemoji12_1f9ef.svg",
"https://twemoji.twitter.com/" "https://twemoji.twitter.com/"
@ -66,7 +63,6 @@
"https://raw.githubusercontent.com/mapamore/MapComplete/master/assets/themes/hailhydrant/hydrant.svg" "https://raw.githubusercontent.com/mapamore/MapComplete/master/assets/themes/hailhydrant/hydrant.svg"
] ]
}, },
{ {
"path": "Twemoji12_1f692.svg", "path": "Twemoji12_1f692.svg",
"license": "CC-BY 4.0", "license": "CC-BY 4.0",