forked from MapComplete/MapComplete
-am
This commit is contained in:
parent
5aa2f7f2a2
commit
1e63dc4be6
3 changed files with 529 additions and 486 deletions
|
@ -1,18 +1,18 @@
|
|||
import { FixedUiElement } from "./UI/Base/FixedUiElement";
|
||||
import {FixedUiElement} from "./UI/Base/FixedUiElement";
|
||||
import Toggle from "./UI/Input/Toggle";
|
||||
import { Basemap } from "./UI/BigComponents/Basemap";
|
||||
import {Basemap} from "./UI/BigComponents/Basemap";
|
||||
import State from "./State";
|
||||
import LoadFromOverpass from "./Logic/Actors/OverpassFeatureSource";
|
||||
import { UIEventSource } from "./Logic/UIEventSource";
|
||||
import { QueryParameters } from "./Logic/Web/QueryParameters";
|
||||
import {UIEventSource} from "./Logic/UIEventSource";
|
||||
import {QueryParameters} from "./Logic/Web/QueryParameters";
|
||||
import StrayClickHandler from "./Logic/Actors/StrayClickHandler";
|
||||
import SimpleAddUI from "./UI/BigComponents/SimpleAddUI";
|
||||
import CenterMessageBox from "./UI/CenterMessageBox";
|
||||
import UserBadge from "./UI/BigComponents/UserBadge";
|
||||
import SearchAndGo from "./UI/BigComponents/SearchAndGo";
|
||||
import GeoLocationHandler from "./Logic/Actors/GeoLocationHandler";
|
||||
import { LocalStorageSource } from "./Logic/Web/LocalStorageSource";
|
||||
import { Utils } from "./Utils";
|
||||
import {LocalStorageSource} from "./Logic/Web/LocalStorageSource";
|
||||
import {Utils} from "./Utils";
|
||||
import Svg from "./Svg";
|
||||
import Link from "./UI/Base/Link";
|
||||
import * as personal from "./assets/themes/personal/personal.json";
|
||||
|
@ -33,14 +33,14 @@ import MapControlButton from "./UI/MapControlButton";
|
|||
import Combine from "./UI/Base/Combine";
|
||||
import SelectedFeatureHandler from "./Logic/Actors/SelectedFeatureHandler";
|
||||
import LZString from "lz-string";
|
||||
import { LayoutConfigJson } from "./Customizations/JSON/LayoutConfigJson";
|
||||
import {LayoutConfigJson} from "./Customizations/JSON/LayoutConfigJson";
|
||||
import AttributionPanel from "./UI/BigComponents/AttributionPanel";
|
||||
import ContributorCount from "./Logic/ContributorCount";
|
||||
import FeatureSource from "./Logic/FeatureSource/FeatureSource";
|
||||
import AllKnownLayers from "./Customizations/AllKnownLayers";
|
||||
import LayerConfig from "./Customizations/JSON/LayerConfig";
|
||||
import AvailableBaseLayers from "./Logic/Actors/AvailableBaseLayers";
|
||||
import { TagsFilter } from "./Logic/Tags/TagsFilter";
|
||||
import {TagsFilter} from "./Logic/Tags/TagsFilter";
|
||||
import FilterView from "./UI/BigComponents/FilterView";
|
||||
|
||||
export class InitUiElements {
|
||||
|
@ -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";
|
||||
}
|
||||
|
||||
|
@ -184,7 +185,7 @@ export class InitUiElements {
|
|||
iconSize: [30, 30],
|
||||
iconAnchor: [15, 15],
|
||||
});
|
||||
const marker = L.marker([home.lat, home.lon], { icon: icon });
|
||||
const marker = L.marker([home.lat, home.lon], {icon: icon});
|
||||
marker.addTo(State.state.leafletMap.data);
|
||||
});
|
||||
|
||||
|
@ -323,8 +324,8 @@ export class InitUiElements {
|
|||
});
|
||||
isOpened.setData(
|
||||
Hash.hash.data === undefined ||
|
||||
Hash.hash.data === "" ||
|
||||
Hash.hash.data == "welcome"
|
||||
Hash.hash.data === "" ||
|
||||
Hash.hash.data == "welcome"
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,159 +1,187 @@
|
|||
{
|
||||
"id": "watermill",
|
||||
"name": {
|
||||
"nl": "Watermolens",
|
||||
"en": "Watermill"
|
||||
"id": "watermill",
|
||||
"name": {
|
||||
"nl": "Watermolens",
|
||||
"en": "Watermill"
|
||||
},
|
||||
"minzoom": 12,
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
"man_made=watermill"
|
||||
]
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"nl": "Watermolens"
|
||||
},
|
||||
"minzoom": 12,
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": ["man_made=watermill"]
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"nl": "Watermolens"
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"name:nl~*"
|
||||
]
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": ["name:nl~*"]
|
||||
},
|
||||
"then": {
|
||||
"nl": "{name:nl}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": ["name~*"]
|
||||
},
|
||||
"then": {
|
||||
"nl": "{name}"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"description": {
|
||||
"nl": "Watermolens"
|
||||
},
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
{
|
||||
"#": "Access tag",
|
||||
"render": {
|
||||
"nl": "De toegankelijkheid van dit gebied is: {access:description}"
|
||||
},
|
||||
"question": {
|
||||
"nl": "Is dit gebied toegankelijk?"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "access:description"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": ["access=yes", "fee="]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Vrij toegankelijk"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": ["access=no", "fee="]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Niet toegankelijk"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": ["access=private", "fee="]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Niet toegankelijk, want privégebied"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": ["access=permissive", "fee="]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Toegankelijk, ondanks dat het privegebied is"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": ["access=guided", "fee="]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Enkel toegankelijk met een gids of tijdens een activiteit"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": ["access=yes", "fee=yes"]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Toegankelijk mits betaling"
|
||||
}
|
||||
}
|
||||
]
|
||||
"then": {
|
||||
"nl": "{name:nl}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"name~*"
|
||||
]
|
||||
},
|
||||
{
|
||||
"#": "Operator tag",
|
||||
"render": {
|
||||
"nl": "Beheer door {operator}"
|
||||
},
|
||||
"question": {
|
||||
"nl": "Wie beheert dit pad?"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "operator"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": ["operator=Natuurpunt"]
|
||||
},
|
||||
"then": {
|
||||
"nl": "<img src=\"./assets/themes/buurtnatuur/Natuurpunt.jpg\" style=\"width:1.5em\">Dit gebied wordt beheerd door Natuurpunt"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": ["operator~(n|N)atuurpunt.*"]
|
||||
},
|
||||
"then": {
|
||||
"nl": "<img src=\"./assets/themes/buurtnatuur/Natuurpunt.jpg\" style=\"width:1.5em\">Dit gebied wordt beheerd door {operator}"
|
||||
},
|
||||
"hideInAnswer": true
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"wayHandling": 1,
|
||||
"icon": {
|
||||
"render": "./assets/layers/watermill/watermill.svg"
|
||||
},
|
||||
"iconSize": {
|
||||
"render": "50,50,center"
|
||||
},
|
||||
"color": {
|
||||
"render": "#FFC0CB"
|
||||
},
|
||||
"presets": [
|
||||
{
|
||||
"tags": [
|
||||
"man_made=watermill",
|
||||
"fixme=Toegevoegd met MapComplete, geometry nog uit te tekenen"
|
||||
],
|
||||
"title": {
|
||||
"nl": "Paden"
|
||||
},
|
||||
"description": {
|
||||
"nl": "Voeg een ontbrekend, erkend pad toe."
|
||||
}
|
||||
"then": {
|
||||
"nl": "{name}"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"description": {
|
||||
"nl": "Watermolens"
|
||||
},
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
{
|
||||
"#": "Access tag",
|
||||
"render": {
|
||||
"nl": "De toegankelijkheid van dit gebied is: {access:description}"
|
||||
},
|
||||
"question": {
|
||||
"nl": "Is dit gebied toegankelijk?"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "access:description"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"access=yes",
|
||||
"fee="
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Vrij toegankelijk"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"access=no",
|
||||
"fee="
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Niet toegankelijk"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"access=private",
|
||||
"fee="
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Niet toegankelijk, want privégebied"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"access=permissive",
|
||||
"fee="
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Toegankelijk, ondanks dat het privegebied is"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"access=guided",
|
||||
"fee="
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Enkel toegankelijk met een gids of tijdens een activiteit"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"access=yes",
|
||||
"fee=yes"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Toegankelijk mits betaling"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"#": "Operator tag",
|
||||
"render": {
|
||||
"nl": "Beheer door {operator}"
|
||||
},
|
||||
"question": {
|
||||
"nl": "Wie beheert dit pad?"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "operator"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"operator=Natuurpunt"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "<img src=\"./assets/themes/buurtnatuur/Natuurpunt.jpg\" style=\"width:1.5em\">Dit gebied wordt beheerd door Natuurpunt"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"operator~(n|N)atuurpunt.*"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "<img src=\"./assets/themes/buurtnatuur/Natuurpunt.jpg\" style=\"width:1.5em\">Dit gebied wordt beheerd door {operator}"
|
||||
},
|
||||
"hideInAnswer": true
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"wayHandling": 1,
|
||||
"icon": {
|
||||
"render": "./assets/layers/watermill/watermill.svg"
|
||||
},
|
||||
"iconSize": {
|
||||
"render": "50,50,center"
|
||||
},
|
||||
"color": {
|
||||
"render": "#FFC0CB"
|
||||
},
|
||||
"presets": [
|
||||
{
|
||||
"tags": [
|
||||
"man_made=watermill",
|
||||
"fixme=Toegevoegd met MapComplete, geometry nog uit te tekenen"
|
||||
],
|
||||
"title": {
|
||||
"nl": "Paden"
|
||||
},
|
||||
"description": {
|
||||
"nl": "Voeg een ontbrekend, erkend pad toe."
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,327 +1,341 @@
|
|||
{
|
||||
"id": "natuurpunt",
|
||||
"customCss": "./assets/themes/natuurpunt/natuurpunt.css",
|
||||
"title": {
|
||||
"nl": "Natuurgebieden",
|
||||
"en": "Nature Reserves"
|
||||
},
|
||||
"shortDescription": {
|
||||
"nl": "Deze kaart toont de natuurgebieden van Natuurpunt",
|
||||
"en": "This map shows the nature reserves of Natuurpunt"
|
||||
},
|
||||
"description": {
|
||||
"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"],
|
||||
"maintainer": "",
|
||||
"icon": "./assets/themes/natuurpunt/natuurpunt.png",
|
||||
"version": "0",
|
||||
"startLat": 51.20875,
|
||||
"startLon": 3.22435,
|
||||
"startZoom": 15,
|
||||
"widenFactor": 0.05,
|
||||
"socialImage": "",
|
||||
"defaultBackgroundId": "CartoDB.Positron",
|
||||
"layers": [
|
||||
{
|
||||
"#": "Nature reserve with geometry, z>=13",
|
||||
"builtin": "nature_reserve",
|
||||
"override": {
|
||||
"name": null,
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"+and": ["operator~.*[nN]atuurpunt.*"]
|
||||
},
|
||||
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_{layer}_{z}_{x}_{y}.geojson",
|
||||
"geoJsonZoomLevel": 12,
|
||||
"isOsmCache": true
|
||||
},
|
||||
"minzoom": 13,
|
||||
"minzoomVisible": 0,
|
||||
"icon": {
|
||||
"render": "circle:#FE6F32;./assets/themes/natuurpunt/nature_reserve.svg"
|
||||
},
|
||||
"deletion": {
|
||||
"hardDeletionTags": {
|
||||
"and": [
|
||||
"leisure=nature_reserve",
|
||||
"boundary=protected_area"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
"id": "natuurpunt",
|
||||
"customCss": "./assets/themes/natuurpunt/natuurpunt.css",
|
||||
"title": {
|
||||
"nl": "Natuurgebieden",
|
||||
"en": "Nature Reserves"
|
||||
},
|
||||
"shortDescription": {
|
||||
"nl": "Deze kaart toont de natuurgebieden van Natuurpunt",
|
||||
"en": "This map shows the nature reserves of Natuurpunt"
|
||||
},
|
||||
"description": {
|
||||
"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"
|
||||
],
|
||||
"maintainer": "",
|
||||
"icon": "./assets/themes/natuurpunt/natuurpunt.png",
|
||||
"version": "0",
|
||||
"startLat": 51.20875,
|
||||
"startLon": 3.22435,
|
||||
"startZoom": 15,
|
||||
"widenFactor": 0.05,
|
||||
"socialImage": "",
|
||||
"defaultBackgroundId": "CartoDB.Positron",
|
||||
"layers": [
|
||||
{
|
||||
"#": "Nature reserve with geometry, z>=13",
|
||||
"builtin": "nature_reserve",
|
||||
"override": {
|
||||
"name": null,
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"+and": [
|
||||
"operator~.*[nN]atuurpunt.*"
|
||||
]
|
||||
},
|
||||
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_{layer}_{z}_{x}_{y}.geojson",
|
||||
"geoJsonZoomLevel": 12,
|
||||
"isOsmCache": true
|
||||
},
|
||||
{
|
||||
"#": "Nature reserve overview from cache, points only, z < 13",
|
||||
"builtin": "nature_reserve",
|
||||
"override": {
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"+and": ["operator~.*[nN]atuurpunt.*"]
|
||||
},
|
||||
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_nature_reserve_points.geojson",
|
||||
"isOsmCache": "duplicate"
|
||||
},
|
||||
"minzoom": 1,
|
||||
"icon": {
|
||||
"render": "circle:#FE6F32;./assets/themes/natuurpunt/nature_reserve.svg"
|
||||
},
|
||||
"deletion": {
|
||||
"hardDeletionTags": {
|
||||
"and": [
|
||||
"leisure=nature_reserve",
|
||||
"boundary=protected_area"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
"minzoom": 13,
|
||||
"minzoomVisible": 0,
|
||||
"icon": {
|
||||
"render": "circle:#FE6F32;./assets/themes/natuurpunt/nature_reserve.svg"
|
||||
},
|
||||
{
|
||||
"builtin": "visitor_information_centre",
|
||||
"override": {
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"+and": ["operator~.*[nN]atuurpunt.*"]
|
||||
},
|
||||
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_{layer}_points.geojson",
|
||||
"isOsmCache": true
|
||||
},
|
||||
"minzoom": 1,
|
||||
"icon": {
|
||||
"render": "circle:#FE6F32;./assets/themes/natuurpunt/information.svg"
|
||||
},
|
||||
"deletion": {
|
||||
"hardDeletionTags": {
|
||||
"and": [
|
||||
"information=visitor_centre",
|
||||
"information=office"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": "trail",
|
||||
"override": {
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"+and": ["operator~.*[nN]atuurpunt.*"]
|
||||
},
|
||||
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_{layer}_{z}_{x}_{y}.geojson",
|
||||
"geoJsonZoomLevel": 12,
|
||||
"isOsmCache": true
|
||||
},
|
||||
"minzoom": "13",
|
||||
"icon": {
|
||||
"render": "circle:#FE6F32;./assets/themes/natuurpunt/trail.svg",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "wheelchair=yes",
|
||||
"then": "circle:#FE6F32;./assets/themes/natuurpunt/walk_wheelchair.svg"
|
||||
},
|
||||
{
|
||||
"if": "pushchair=yes",
|
||||
"then": "circle:#FE6F32;./assets/themes/natuurpunt/pushchair.svg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"deletion": {
|
||||
"hardDeletionTags": {
|
||||
"and": ["route=hiking", "route=bycicle", "route=horse"]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": "toilet",
|
||||
"override": {
|
||||
"minzoom": "15",
|
||||
"source": {
|
||||
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_{layer}_{z}_{x}_{y}.geojson",
|
||||
"geoJsonZoomLevel": 12,
|
||||
"isOsmCache": true
|
||||
},
|
||||
"icon": {
|
||||
"render": "circle:#FE6F32;./assets/themes/natuurpunt/toilets.svg",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "wheelchair=yes",
|
||||
"then": "circle:#FE6F32;./assets/themes/natuurpunt/wheelchair.svg"
|
||||
},
|
||||
{
|
||||
"if": "toilets:position=urinals",
|
||||
"then": "circle:#FE6F32;./assets/themes/natuurpunt/urinal.svg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"deletion": {
|
||||
"hardDeletionTags": "amenity=toilets"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": "birdhide",
|
||||
"override": {
|
||||
"minzoom": 12,
|
||||
"source": {
|
||||
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_{layer}_{z}_{x}_{y}.geojson",
|
||||
"geoJsonZoomLevel": 12,
|
||||
"isOsmCache": true
|
||||
},
|
||||
"icon": {
|
||||
"render": "circle:#FE6F32;./assets/themes/natuurpunt/birdhide.svg",
|
||||
"mappings": null
|
||||
},
|
||||
"deletion": [
|
||||
{
|
||||
"if": "leisure=bird_hide",
|
||||
"then": {
|
||||
"hardDeletionTags": "leisure=bird_hide"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"building=yes",
|
||||
"shelter=yes",
|
||||
"amenity=shelter"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"hardDeletionTags": {
|
||||
"and": [
|
||||
"building=yes",
|
||||
"shelter=yes",
|
||||
"amenity=shelter"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": "picnic_table",
|
||||
"override": {
|
||||
"minzoom": "16",
|
||||
"source": {
|
||||
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_{layer}_{z}_{x}_{y}.geojson",
|
||||
"geoJsonZoomLevel": 12,
|
||||
"isOsmCache": true
|
||||
},
|
||||
"icon": {
|
||||
"render": "circle:#FE6F32;./assets/themes/natuurpunt/picnic_table.svg"
|
||||
},
|
||||
"deletion": {
|
||||
"hardDeletionTags": "leisure=picnic_table"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": "drinking_water",
|
||||
"override": {
|
||||
"minzoom": "16",
|
||||
"source": {
|
||||
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_{layer}_{z}_{x}_{y}.geojson",
|
||||
"geoJsonZoomLevel": 12,
|
||||
"isOsmCache": true
|
||||
},
|
||||
"icon": {
|
||||
"render": "circle:#FE6F32;./assets/themes/natuurpunt/drips.svg"
|
||||
},
|
||||
"deletion": {
|
||||
"hardDeletionTags": "amenity=drinking_water"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": "parking",
|
||||
"override": {
|
||||
"minzoom": "16",
|
||||
"icon": {
|
||||
"render": "circle:#FE6F32;./assets/themes/natuurpunt/parking.svg",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "amenity=bicycle_parking",
|
||||
"then": "circle:#FE6F32;./assets/themes/natuurpunt/parkingbike.svg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"iconOverlays": [
|
||||
{
|
||||
"if": "amenity=motorcycle_parking",
|
||||
"then": "circle:#335D9F;./assets/themes/natuurpunt/parkingmotor.svg",
|
||||
"badge": true
|
||||
},
|
||||
{
|
||||
"if": "capacity:disabled=yes",
|
||||
"then": "circle:#335D9F;./assets/themes/natuurpunt/parkingwheels.svg",
|
||||
"badge": true
|
||||
}
|
||||
],
|
||||
"deletion": {
|
||||
"hardDeletionTags": {
|
||||
"and": [
|
||||
"amenity=parking",
|
||||
"amenity=motorcycle_parking",
|
||||
"amenity=bicycle_parking"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": "information_board",
|
||||
"override": {
|
||||
"minzoom": "16",
|
||||
"source": {
|
||||
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_{layer}_{z}_{x}_{y}.geojson",
|
||||
"geoJsonZoomLevel": 12,
|
||||
"isOsmCache": true
|
||||
},
|
||||
"icon": {
|
||||
"render": "circle:#FE6F32;./assets/themes/natuurpunt/information_board.svg"
|
||||
},
|
||||
"deletion": {
|
||||
"hardDeletionTags": "information=board"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": "bench",
|
||||
"override": {
|
||||
"minzoom": "18",
|
||||
"source": {
|
||||
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_{layer}_{z}_{x}_{y}.geojson",
|
||||
"geoJsonZoomLevel": 12,
|
||||
"isOsmCache": true
|
||||
},
|
||||
"icon": {
|
||||
"render": "circle:#FE6F32;./assets/themes/natuurpunt/bench.svg"
|
||||
},
|
||||
"deletion": {
|
||||
"hardDeletionTags": "amenity=bench"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": "watermill",
|
||||
"override": {
|
||||
"minzoom": "18",
|
||||
"source": {
|
||||
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_{layer}_{z}_{x}_{y}.geojson",
|
||||
"geoJsonZoomLevel": 12,
|
||||
"isOsmCache": true
|
||||
},
|
||||
"icon": {
|
||||
"render": "circle:#FE6F32;./assets/themes/natuurpunt/watermill.svg"
|
||||
},
|
||||
"deletion": {
|
||||
"hardDeletionTags": "man_made=watermill"
|
||||
}
|
||||
}
|
||||
"deletion": {
|
||||
"hardDeletionTags": {
|
||||
"and": [
|
||||
"leisure=nature_reserve",
|
||||
"boundary=protected_area"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"roamingRenderings": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"#": "Nature reserve overview from cache, points only, z < 13",
|
||||
"builtin": "nature_reserve",
|
||||
"override": {
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"+and": [
|
||||
"operator~.*[nN]atuurpunt.*"
|
||||
]
|
||||
},
|
||||
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_nature_reserve_points.geojson",
|
||||
"isOsmCache": "duplicate"
|
||||
},
|
||||
"minzoom": 1,
|
||||
"icon": {
|
||||
"render": "circle:#FE6F32;./assets/themes/natuurpunt/nature_reserve.svg"
|
||||
},
|
||||
"deletion": {
|
||||
"hardDeletionTags": {
|
||||
"and": [
|
||||
"leisure=nature_reserve",
|
||||
"boundary=protected_area"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": "visitor_information_centre",
|
||||
"override": {
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"+and": [
|
||||
"operator~.*[nN]atuurpunt.*"
|
||||
]
|
||||
},
|
||||
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_{layer}_points.geojson",
|
||||
"isOsmCache": true
|
||||
},
|
||||
"minzoom": 1,
|
||||
"icon": {
|
||||
"render": "circle:#FE6F32;./assets/themes/natuurpunt/information.svg"
|
||||
},
|
||||
"deletion": {
|
||||
"hardDeletionTags": {
|
||||
"and": [
|
||||
"information=visitor_centre",
|
||||
"information=office"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": "trail",
|
||||
"override": {
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"+and": [
|
||||
"operator~.*[nN]atuurpunt.*"
|
||||
]
|
||||
},
|
||||
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_{layer}_{z}_{x}_{y}.geojson",
|
||||
"geoJsonZoomLevel": 12,
|
||||
"isOsmCache": true
|
||||
},
|
||||
"minzoom": "13",
|
||||
"icon": {
|
||||
"render": "circle:#FE6F32;./assets/themes/natuurpunt/trail.svg",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "wheelchair=yes",
|
||||
"then": "circle:#FE6F32;./assets/themes/natuurpunt/walk_wheelchair.svg"
|
||||
},
|
||||
{
|
||||
"if": "pushchair=yes",
|
||||
"then": "circle:#FE6F32;./assets/themes/natuurpunt/pushchair.svg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"deletion": {
|
||||
"hardDeletionTags": {
|
||||
"and": [
|
||||
"route=hiking",
|
||||
"route=bycicle",
|
||||
"route=horse"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": "toilet",
|
||||
"override": {
|
||||
"minzoom": "15",
|
||||
"source": {
|
||||
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_{layer}_{z}_{x}_{y}.geojson",
|
||||
"geoJsonZoomLevel": 12,
|
||||
"isOsmCache": true
|
||||
},
|
||||
"icon": {
|
||||
"render": "circle:#FE6F32;./assets/themes/natuurpunt/toilets.svg",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "wheelchair=yes",
|
||||
"then": "circle:#FE6F32;./assets/themes/natuurpunt/wheelchair.svg"
|
||||
},
|
||||
{
|
||||
"if": "toilets:position=urinals",
|
||||
"then": "circle:#FE6F32;./assets/themes/natuurpunt/urinal.svg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"deletion": {
|
||||
"hardDeletionTags": "amenity=toilets"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": "birdhide",
|
||||
"override": {
|
||||
"minzoom": 12,
|
||||
"source": {
|
||||
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_{layer}_{z}_{x}_{y}.geojson",
|
||||
"geoJsonZoomLevel": 12,
|
||||
"isOsmCache": true
|
||||
},
|
||||
"icon": {
|
||||
"render": "circle:#FE6F32;./assets/themes/natuurpunt/birdhide.svg",
|
||||
"mappings": null
|
||||
},
|
||||
"deletion": [
|
||||
{
|
||||
"if": "leisure=bird_hide",
|
||||
"then": {
|
||||
"hardDeletionTags": "leisure=bird_hide"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"building=yes",
|
||||
"shelter=yes",
|
||||
"amenity=shelter"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"hardDeletionTags": {
|
||||
"and": [
|
||||
"building=yes",
|
||||
"shelter=yes",
|
||||
"amenity=shelter"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": "picnic_table",
|
||||
"override": {
|
||||
"minzoom": "16",
|
||||
"source": {
|
||||
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_{layer}_{z}_{x}_{y}.geojson",
|
||||
"geoJsonZoomLevel": 12,
|
||||
"isOsmCache": true
|
||||
},
|
||||
"icon": {
|
||||
"render": "circle:#FE6F32;./assets/themes/natuurpunt/picnic_table.svg"
|
||||
},
|
||||
"deletion": {
|
||||
"hardDeletionTags": "leisure=picnic_table"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": "drinking_water",
|
||||
"override": {
|
||||
"minzoom": "16",
|
||||
"source": {
|
||||
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_{layer}_{z}_{x}_{y}.geojson",
|
||||
"geoJsonZoomLevel": 12,
|
||||
"isOsmCache": true
|
||||
},
|
||||
"icon": {
|
||||
"render": "circle:#FE6F32;./assets/themes/natuurpunt/drips.svg"
|
||||
},
|
||||
"deletion": {
|
||||
"hardDeletionTags": "amenity=drinking_water"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": "parking",
|
||||
"override": {
|
||||
"minzoom": "16",
|
||||
"icon": {
|
||||
"render": "circle:#FE6F32;./assets/themes/natuurpunt/parking.svg",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "amenity=bicycle_parking",
|
||||
"then": "circle:#FE6F32;./assets/themes/natuurpunt/parkingbike.svg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"iconOverlays": [
|
||||
{
|
||||
"if": "amenity=motorcycle_parking",
|
||||
"then": "circle:#335D9F;./assets/themes/natuurpunt/parkingmotor.svg",
|
||||
"badge": true
|
||||
},
|
||||
{
|
||||
"if": "capacity:disabled=yes",
|
||||
"then": "circle:#335D9F;./assets/themes/natuurpunt/parkingwheels.svg",
|
||||
"badge": true
|
||||
}
|
||||
],
|
||||
"deletion": {
|
||||
"hardDeletionTags": {
|
||||
"and": [
|
||||
"amenity=parking",
|
||||
"amenity=motorcycle_parking",
|
||||
"amenity=bicycle_parking"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": "information_board",
|
||||
"override": {
|
||||
"minzoom": "16",
|
||||
"source": {
|
||||
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_{layer}_{z}_{x}_{y}.geojson",
|
||||
"geoJsonZoomLevel": 12,
|
||||
"isOsmCache": true
|
||||
},
|
||||
"icon": {
|
||||
"render": "circle:#FE6F32;./assets/themes/natuurpunt/information_board.svg"
|
||||
},
|
||||
"deletion": {
|
||||
"hardDeletionTags": "information=board"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": "bench",
|
||||
"override": {
|
||||
"minzoom": "18",
|
||||
"source": {
|
||||
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_{layer}_{z}_{x}_{y}.geojson",
|
||||
"geoJsonZoomLevel": 12,
|
||||
"isOsmCache": true
|
||||
},
|
||||
"icon": {
|
||||
"render": "circle:#FE6F32;./assets/themes/natuurpunt/bench.svg"
|
||||
},
|
||||
"deletion": {
|
||||
"hardDeletionTags": "amenity=bench"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": "watermill",
|
||||
"override": {
|
||||
"minzoom": "18",
|
||||
"source": {
|
||||
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_{layer}_{z}_{x}_{y}.geojson",
|
||||
"geoJsonZoomLevel": 12,
|
||||
"isOsmCache": true
|
||||
},
|
||||
"icon": {
|
||||
"render": "circle:#FE6F32;./assets/themes/natuurpunt/watermill.svg"
|
||||
},
|
||||
"deletion": {
|
||||
"hardDeletionTags": "man_made=watermill"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"roamingRenderings": []
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue