forked from MapComplete/MapComplete
-am
This commit is contained in:
parent
5aa2f7f2a2
commit
1e63dc4be6
3 changed files with 529 additions and 486 deletions
|
@ -57,7 +57,8 @@ export class InitUiElements {
|
|||
`Error: incorrect layout <i>${layoutName}</i><br/><a href='https://${window.location.host}/'>Go back</a>`
|
||||
)
|
||||
.AttachTo("centermessage")
|
||||
.onClick(() => {});
|
||||
.onClick(() => {
|
||||
});
|
||||
throw "Incorrect layout";
|
||||
}
|
||||
|
||||
|
|
|
@ -7,7 +7,9 @@
|
|||
"minzoom": 12,
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": ["man_made=watermill"]
|
||||
"and": [
|
||||
"man_made=watermill"
|
||||
]
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
|
@ -17,7 +19,9 @@
|
|||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": ["name:nl~*"]
|
||||
"and": [
|
||||
"name:nl~*"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "{name:nl}"
|
||||
|
@ -25,7 +29,9 @@
|
|||
},
|
||||
{
|
||||
"if": {
|
||||
"and": ["name~*"]
|
||||
"and": [
|
||||
"name~*"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "{name}"
|
||||
|
@ -52,7 +58,10 @@
|
|||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": ["access=yes", "fee="]
|
||||
"and": [
|
||||
"access=yes",
|
||||
"fee="
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Vrij toegankelijk"
|
||||
|
@ -60,7 +69,10 @@
|
|||
},
|
||||
{
|
||||
"if": {
|
||||
"and": ["access=no", "fee="]
|
||||
"and": [
|
||||
"access=no",
|
||||
"fee="
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Niet toegankelijk"
|
||||
|
@ -68,7 +80,10 @@
|
|||
},
|
||||
{
|
||||
"if": {
|
||||
"and": ["access=private", "fee="]
|
||||
"and": [
|
||||
"access=private",
|
||||
"fee="
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Niet toegankelijk, want privégebied"
|
||||
|
@ -76,7 +91,10 @@
|
|||
},
|
||||
{
|
||||
"if": {
|
||||
"and": ["access=permissive", "fee="]
|
||||
"and": [
|
||||
"access=permissive",
|
||||
"fee="
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Toegankelijk, ondanks dat het privegebied is"
|
||||
|
@ -84,7 +102,10 @@
|
|||
},
|
||||
{
|
||||
"if": {
|
||||
"and": ["access=guided", "fee="]
|
||||
"and": [
|
||||
"access=guided",
|
||||
"fee="
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Enkel toegankelijk met een gids of tijdens een activiteit"
|
||||
|
@ -92,7 +113,10 @@
|
|||
},
|
||||
{
|
||||
"if": {
|
||||
"and": ["access=yes", "fee=yes"]
|
||||
"and": [
|
||||
"access=yes",
|
||||
"fee=yes"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Toegankelijk mits betaling"
|
||||
|
@ -114,7 +138,9 @@
|
|||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": ["operator=Natuurpunt"]
|
||||
"and": [
|
||||
"operator=Natuurpunt"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "<img src=\"./assets/themes/buurtnatuur/Natuurpunt.jpg\" style=\"width:1.5em\">Dit gebied wordt beheerd door Natuurpunt"
|
||||
|
@ -122,7 +148,9 @@
|
|||
},
|
||||
{
|
||||
"if": {
|
||||
"and": ["operator~(n|N)atuurpunt.*"]
|
||||
"and": [
|
||||
"operator~(n|N)atuurpunt.*"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "<img src=\"./assets/themes/buurtnatuur/Natuurpunt.jpg\" style=\"width:1.5em\">Dit gebied wordt beheerd door {operator}"
|
||||
|
|
|
@ -13,7 +13,9 @@
|
|||
"nl": "Op deze kaart vind je alle natuurgebieden die Natuurpunt ter beschikking stelt",
|
||||
"en": "On this map you can find all the nature reserves that Natuurpunt offers "
|
||||
},
|
||||
"language": ["nl"],
|
||||
"language": [
|
||||
"nl"
|
||||
],
|
||||
"maintainer": "",
|
||||
"icon": "./assets/themes/natuurpunt/natuurpunt.png",
|
||||
"version": "0",
|
||||
|
@ -31,7 +33,9 @@
|
|||
"name": null,
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"+and": ["operator~.*[nN]atuurpunt.*"]
|
||||
"+and": [
|
||||
"operator~.*[nN]atuurpunt.*"
|
||||
]
|
||||
},
|
||||
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_{layer}_{z}_{x}_{y}.geojson",
|
||||
"geoJsonZoomLevel": 12,
|
||||
|
@ -58,7 +62,9 @@
|
|||
"override": {
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"+and": ["operator~.*[nN]atuurpunt.*"]
|
||||
"+and": [
|
||||
"operator~.*[nN]atuurpunt.*"
|
||||
]
|
||||
},
|
||||
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_nature_reserve_points.geojson",
|
||||
"isOsmCache": "duplicate"
|
||||
|
@ -82,7 +88,9 @@
|
|||
"override": {
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"+and": ["operator~.*[nN]atuurpunt.*"]
|
||||
"+and": [
|
||||
"operator~.*[nN]atuurpunt.*"
|
||||
]
|
||||
},
|
||||
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_{layer}_points.geojson",
|
||||
"isOsmCache": true
|
||||
|
@ -106,7 +114,9 @@
|
|||
"override": {
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"+and": ["operator~.*[nN]atuurpunt.*"]
|
||||
"+and": [
|
||||
"operator~.*[nN]atuurpunt.*"
|
||||
]
|
||||
},
|
||||
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_{layer}_{z}_{x}_{y}.geojson",
|
||||
"geoJsonZoomLevel": 12,
|
||||
|
@ -128,7 +138,11 @@
|
|||
},
|
||||
"deletion": {
|
||||
"hardDeletionTags": {
|
||||
"and": ["route=hiking", "route=bycicle", "route=horse"]
|
||||
"and": [
|
||||
"route=hiking",
|
||||
"route=bycicle",
|
||||
"route=horse"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue