forked from MapComplete/MapComplete
Add possibility to add external geojson
This commit is contained in:
parent
d7c1f38d26
commit
f0765df5ed
10 changed files with 98 additions and 11 deletions
|
@ -62,7 +62,8 @@
|
|||
"if": "id~=-",
|
||||
"then": "<span class='alert'>Uploading...</alert>"
|
||||
}
|
||||
]
|
||||
],
|
||||
"condition": "id~(node|way|relation)/[0-9]*"
|
||||
},
|
||||
"sharelink": {
|
||||
"render": "{share_link()}"
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
"maintainer": "MapComplete",
|
||||
"icon": "./assets/layers/play_forest/icon.svg",
|
||||
"hideFromOverview": true,
|
||||
"lockLocation": true,
|
||||
"lockLocation": false,
|
||||
"version": "0",
|
||||
"startLat": 51.17174,
|
||||
"startLon": 4.449462,
|
||||
|
@ -23,13 +23,28 @@
|
|||
"widenFactor": 0.05,
|
||||
"socialImage": "",
|
||||
"defaultBackgroundId": "CartoDB.Positron",
|
||||
"layers": [
|
||||
"layersX": [
|
||||
"play_forest",
|
||||
"playground",
|
||||
"sport_pitch",
|
||||
"slow_roads",
|
||||
"grass_in_parks",
|
||||
"village_green"
|
||||
],
|
||||
"layers": [
|
||||
{
|
||||
"id": "test",
|
||||
"source": {
|
||||
"osmTags": "country~*",
|
||||
"geoJsonSource": "https://pietervdvn.github.io/latlon2country/15.10774.14922.json"
|
||||
},
|
||||
"maxOverlapPercentage": 0,
|
||||
"name": "test",
|
||||
"title": "Test",
|
||||
"minzoom": 0
|
||||
}
|
||||
|
||||
|
||||
],
|
||||
"roamingRenderings": []
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue