Themes: add ice cream parlors
This commit is contained in:
parent
3aa9a21dea
commit
69a7c9efa3
7 changed files with 554 additions and 1450 deletions
File diff suppressed because it is too large
Load diff
84
assets/layers/ice_cream/ice_cream.json
Normal file
84
assets/layers/ice_cream/ice_cream.json
Normal file
|
@ -0,0 +1,84 @@
|
|||
{
|
||||
"credits": ["Pieter Vander Vennet"],
|
||||
"pointRendering": [
|
||||
{
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"marker": [
|
||||
{
|
||||
"icon": "circle",
|
||||
"color": "white"
|
||||
},
|
||||
{
|
||||
"icon": "./assets/layers/ice_cream/ice_cream.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"lineRendering": [
|
||||
{
|
||||
"width": 1,
|
||||
"color": "blue"
|
||||
}
|
||||
],
|
||||
"id": "ice_cream",
|
||||
"name": {
|
||||
"en": "Ice cream parlors"
|
||||
},
|
||||
"description": {
|
||||
"en": "A place where ice cream is sold over the counter"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": "amenity=ice_cream"
|
||||
},
|
||||
"presets": [
|
||||
{
|
||||
"title": {
|
||||
"en": "an ice cream parlor"
|
||||
},
|
||||
"tags": [
|
||||
"amenity=ice_cream"
|
||||
],
|
||||
"description": {
|
||||
"en": "A shop where one can buy only icecream and related items. Ice cream is normally hand-scooped."
|
||||
}
|
||||
}
|
||||
],
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Ice cream parlor"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "name~*",
|
||||
"then": {
|
||||
"en": "{name}"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
{
|
||||
"question": {
|
||||
"en": "What is the name of this ice cream parlor?",
|
||||
"nl": "Wat is de naam van dit ijssalon?"
|
||||
},
|
||||
"id": "1",
|
||||
"freeform": {
|
||||
"key": "name"
|
||||
},
|
||||
"render": {
|
||||
"en": "This ice cream parlor is named <b>{name}</b>",
|
||||
"nl": "Dit ijssalon heet <b>{name}</b>"
|
||||
}
|
||||
},
|
||||
"opening_hours",
|
||||
"contact",
|
||||
"diets",
|
||||
"payment-options",
|
||||
"wheelchair-access"
|
||||
]
|
||||
}
|
40
assets/layers/ice_cream/ice_cream.svg
Normal file
40
assets/layers/ice_cream/ice_cream.svg
Normal file
|
@ -0,0 +1,40 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
version="1.1"
|
||||
width="14"
|
||||
height="14"
|
||||
viewBox="0 0 14 14"
|
||||
id="svg2">
|
||||
<metadata
|
||||
id="metadata8">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs6" />
|
||||
<rect
|
||||
width="14"
|
||||
height="14"
|
||||
x="0"
|
||||
y="0"
|
||||
id="canvas"
|
||||
style="fill:none;stroke:none;visibility:hidden" />
|
||||
<path
|
||||
d="M 5,0 C 3.3431457,0 2,1.3431457 2,3 2,3.3555333 2.0739786,3.6835283 2.1875,4 l 5.625,0 C 7.9260214,3.6835283 8,3.3555333 8,3 8,1.3431457 6.6568543,0 5,0 z M 9,0 C 8.5961418,0 8.2266723,0.105305 7.875,0.25 8.5629725,0.96841289 9,1.9267594 9,3 9,3.3467764 8.931082,3.6790098 8.84375,4 L 11.8125,4 C 11.926021,3.6835283 12,3.3555333 12,3 12,1.3431457 10.656854,0 9,0 z M 3.25,5 7,14 10.75,5 3.25,5 z"
|
||||
id="ice-cream"
|
||||
style="fill:#C77400;fill-opacity:1;stroke:none" />
|
||||
</svg>
|
After Width: | Height: | Size: 1.4 KiB |
2
assets/layers/ice_cream/ice_cream.svg.license
Normal file
2
assets/layers/ice_cream/ice_cream.svg.license
Normal file
|
@ -0,0 +1,2 @@
|
|||
SPDX-FileCopyrightText: OSM Carto
|
||||
SPDX-License-Identifier: CC0-1.0
|
12
assets/layers/ice_cream/license_info.json
Normal file
12
assets/layers/ice_cream/license_info.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
[
|
||||
{
|
||||
"path": "ice_cream.svg",
|
||||
"license": "CC0-1.0",
|
||||
"authors": [
|
||||
"OSM Carto"
|
||||
],
|
||||
"sources": [
|
||||
"https://wiki.openstreetmap.org/wiki/File:Ice-cream-14.svg"
|
||||
]
|
||||
}
|
||||
]
|
13
assets/themes/icecream/icecream.json
Normal file
13
assets/themes/icecream/icecream.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"title": {
|
||||
"en": "Icecream"
|
||||
},
|
||||
"id": "icecream",
|
||||
"description": {
|
||||
"en": "A map showing ice cream parlors and ice cream vending machines"
|
||||
},
|
||||
"icon": "./assets/layers/ice_cream/ice_cream.svg",
|
||||
"layers": [
|
||||
"ice_cream"
|
||||
]
|
||||
}
|
|
@ -55,6 +55,7 @@
|
|||
"widenFactor": 3,
|
||||
"layers": [
|
||||
"shops",
|
||||
"pharmacy"
|
||||
"pharmacy",
|
||||
"ice_cream"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue