forked from MapComplete/MapComplete
First working version with multi-rendering
This commit is contained in:
parent
b9b8a5c71a
commit
0c0ef48a96
16 changed files with 228 additions and 135 deletions
|
@ -489,7 +489,7 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": {
|
||||
"render": "./assets/themes/bookcases/bookcase.svg;"
|
||||
"render": "./assets/themes/bookcases/bookcase.svg"
|
||||
},
|
||||
"label": {
|
||||
"mappings": [
|
||||
|
|
61
assets/themes/sidewalks/sidewalks.json
Normal file
61
assets/themes/sidewalks/sidewalks.json
Normal file
|
@ -0,0 +1,61 @@
|
|||
{
|
||||
"id": "sidewalks",
|
||||
"title": {
|
||||
"en": "Sidewalks"
|
||||
},
|
||||
"shortDescription": {
|
||||
"en": "Sidewalk mapping"
|
||||
},
|
||||
"description": {
|
||||
"en": "Experimental theme"
|
||||
},
|
||||
"language": [
|
||||
"en"
|
||||
],
|
||||
"maintainer": "",
|
||||
"icon": "./assets/svg/bug.svg",
|
||||
"version": "0",
|
||||
"startLat": 0,
|
||||
"startLon": 0,
|
||||
"startZoom": 1,
|
||||
"widenFactor": 0.05,
|
||||
"socialImage": "",
|
||||
"layers": [
|
||||
{
|
||||
"id": "sidewalks",
|
||||
"name": {
|
||||
"en": "Sidewalks"
|
||||
},
|
||||
"minzoom": 12,
|
||||
"source": {
|
||||
"osmTags": "highway=residential"
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Street {name}"
|
||||
}
|
||||
},
|
||||
"description": {
|
||||
"en": "Layer showing sidewalks of highways"
|
||||
},
|
||||
"tagRenderings": [],
|
||||
"mapRendering": [
|
||||
{
|
||||
"color": "#ddd",
|
||||
"width": 8
|
||||
},
|
||||
{
|
||||
"color": "#888",
|
||||
"width": 8,
|
||||
"offset": -8
|
||||
},
|
||||
{
|
||||
"color": "#888",
|
||||
"width": 8,
|
||||
"offset": 8
|
||||
}
|
||||
],
|
||||
"allowSplit": true
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue