forked from MapComplete/MapComplete
First version of transit/bus theme
This commit is contained in:
parent
f9e68f5710
commit
b4052b8f63
12 changed files with 788 additions and 22 deletions
12
assets/layers/shelter/license_info.json
Normal file
12
assets/layers/shelter/license_info.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
[
|
||||
{
|
||||
"path": "shelter.svg",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
"Diemen Design"
|
||||
],
|
||||
"sources": [
|
||||
"https://icon-icons.com/icon/map-shelter/158301"
|
||||
]
|
||||
}
|
||||
]
|
88
assets/layers/shelter/shelter.json
Normal file
88
assets/layers/shelter/shelter.json
Normal file
|
@ -0,0 +1,88 @@
|
|||
{
|
||||
"id": "shelter",
|
||||
"name": {
|
||||
"en": "Shelter"
|
||||
},
|
||||
"description": {
|
||||
"en": "Layer showing shelter structures"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
"amenity=shelter"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minzoom": 13,
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Shelter"
|
||||
}
|
||||
},
|
||||
"mapRendering": [
|
||||
{
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"icon": "./assets/layers/shelter/shelter.svg"
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
{
|
||||
"id": "shelter-type",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "shelter_type=public_transport",
|
||||
"then": {
|
||||
"en": "This is a shelter at a public transport stop."
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "shelter_type=picnic_shelter",
|
||||
"then": {
|
||||
"en": "This is a shelter protecting from rain at a picnic site."
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "shelter_type=gazebo",
|
||||
"then": {
|
||||
"en": "This is a gazebo."
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "shelter_type=weather_shelter",
|
||||
"then": {
|
||||
"en": "This is a small shelter, primarily intended for short breaks. Usually found in the mountains or alongside roads."
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "shelter_type=lean_to",
|
||||
"then": {
|
||||
"en": "This is a shed with 3 walls, primarily intended for camping."
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "shelter_type=pavilion",
|
||||
"then": {
|
||||
"en": "This is a pavilion"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "shelter_type=basic_hut",
|
||||
"then": "This is a basic hut, providing basic shelter and sleeping facilities."
|
||||
}
|
||||
],
|
||||
"question": {
|
||||
"en": "What kind of shelter is this?"
|
||||
},
|
||||
"render": {
|
||||
"en": "Shelter type: {shelter_type}"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "shelter_type",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
1
assets/layers/shelter/shelter.svg
Normal file
1
assets/layers/shelter/shelter.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg role="img" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><path d="M 4.4352679,0.99999571 3.578125,2.7143027 l 0.4017857,0 0.8973214,-1.71430699 -0.4419642,0 z m 3.4285714,0 -0.8571429,1.71430699 0.4017857,0 0.8973215,-1.71430699 -0.4419643,0 z m 3.4285707,0 -0.857143,1.71430699 0.401786,0 0.897322,-1.71430699 -0.441965,0 z M 1.8571429,2.7143027 1,4.4286098 l 0.4017857,0 0.8989955,-1.7143071 -0.4436383,0 z m 3.4352678,0 -0.8571428,1.7143071 0.4017857,0 0.8973214,-1.7143071 -0.4419643,0 z m 3.4285714,0 -0.8571428,1.7143071 0.4017857,0 0.8973214,-1.7143071 -0.4419643,0 z m 3.4285709,0 -0.857143,1.7143071 0.401786,0 0.897322,-1.7143071 -0.441965,0 z m -9.0066959,1.7143071 -0.8571428,1.714307 0.4017857,0 0.8989955,-1.714307 -0.4436384,0 z m 6.842076,0 -0.8571429,1.714307 0.4017857,0 0.8989951,-1.714307 -0.4436379,0 z M 7,5.2857633 l -6,3.428614 1.7142857,0 0.8571429,-0.3431962 0,4.1853199 0,0.01507 a 0.42857143,0.42857675 0 0 0 0.2059152,0.366634 0.42857143,0.42857675 0 0 0 0.4319196,0.0067 0.42857143,0.42857675 0 0 0 0.219308,-0.373322 l 0,-4.5435832 L 7,7.0000703 l 2.5714286,1.0279145 0,4.5435832 a 0.42857143,0.42857675 0 0 0 0.2059148,0.366634 0.42857143,0.42857675 0 0 0 0.4319206,0.0067 0.42857143,0.42857675 0 0 0 0.219307,-0.37332 l 0,-4.2003869 0.857143,0.3431962 1.714286,0 -6,-3.428614 z"/></svg>
|
After Width: | Height: | Size: 1.3 KiB |
Loading…
Add table
Add a link
Reference in a new issue