Fix pdf export, fix feature switches

This commit is contained in:
Pieter Vander Vennet 2021-07-28 02:51:07 +02:00
parent 6cd75a8260
commit ede67ca58c
19 changed files with 390 additions and 144 deletions

View file

@ -25,7 +25,7 @@
"startZoom": 11,
"widenFactor": 0.05,
"socialImage": "./assets/themes/cycle_infra/cycle-infra.svg",
"enableExportButton": true,
"enableDownload": true,
"layers": [
{
"id": "cycleways",
@ -69,7 +69,7 @@
},
"then": {
"nl": "Fietsweg",
"en": "Cycleway"
"en": "Bike road"
}
},
{
@ -89,7 +89,7 @@
{
"if": "cycleway=track",
"then": {
"en": "Cycleway next to the road",
"en": "Bike road next to the road",
"nl": "Fietsweg naast de weg"
}
},
@ -219,7 +219,7 @@
"if": "cyclestreet=yes",
"then": {
"en": "This is a cyclestreet, and a 30km/h zone.",
"nl": "Dit is een fietsstraat, en dus een 30km/h zone"
"nl": "Dit is een fietstraat, en dus een 30km/h zone"
},
"addExtraTags": [
"overtaking:motor_vehicle=no",
@ -231,7 +231,7 @@
"if": "cyclestreet=yes",
"then": {
"en": "This is a cyclestreet",
"nl": "Dit is een fietsstraat"
"nl": "Dit is een fietstraat"
},
"hideInAnswer": "_country=be"
},
@ -239,7 +239,7 @@
"if": "cyclestreet=",
"then": {
"en": "This is not a cyclestreet.",
"nl": "Dit is niet een fietsstraat"
"nl": "Dit is niet een fietstraat"
},
"addExtraTags": [
"overtaking:motor_vehicle="
@ -1266,7 +1266,7 @@
"if": "cyclestreet=yes",
"then": {
"en": "This is a cyclestreet, and a 30km/h zone.",
"nl": "Dit is een fietsstraat, en dus een 30km/h zone"
"nl": "Dit is een fietstraat, en dus een 30km/h zone"
},
"addExtraTags": [
"overtaking:motor_vehicle=no",
@ -1278,7 +1278,7 @@
"if": "cyclestreet=yes",
"then": {
"en": "This is a cyclestreet",
"nl": "Dit is een fietsstraat"
"nl": "Dit is een fietstraat"
},
"hideInAnswer": "_country=be"
},
@ -1286,7 +1286,7 @@
"if": "cyclestreet=",
"then": {
"en": "This is not a cyclestreet.",
"nl": "Dit is niet een fietsstraat"
"nl": "Dit is niet een fietstraat"
},
"addExtraTags": [
"overtaking:motor_vehicle="

View file

@ -26,6 +26,8 @@
"widenFactor": 0.05,
"socialImage": "",
"defaultBackgroundId": "CartoDB.Positron",
"enablePdfDownload": true,
"enableDownload": true,
"layers": [
{
"#": "Nature reserve with geometry, z>=13",