Add extraLink button which replaced the iframePopout button, fix #654

This commit is contained in:
Pieter Vander Vennet 2022-02-14 04:48:33 +01:00
parent e04e7ddf6a
commit c941f567cf
16 changed files with 457 additions and 113 deletions

View file

@ -4929,7 +4929,7 @@
{
"type": "array",
"items": {
"$ref": "#/definitions/default"
"$ref": "#/definitions/default_1"
}
},
{
@ -5038,7 +5038,7 @@
],
"type": [
{
"$ref": "#/definitions/default_2"
"$ref": "#/definitions/default_3"
},
{
"type": "boolean"
@ -5268,6 +5268,78 @@
}
]
},
{
"path": [
"enableUserBadge"
],
"type": "boolean"
},
{
"path": [
"enableShareScreen"
],
"type": "boolean"
},
{
"path": [
"enableMoreQuests"
],
"type": "boolean"
},
{
"path": [
"enableLayers"
],
"type": "boolean"
},
{
"path": [
"enableSearch"
],
"type": "boolean"
},
{
"path": [
"enableAddNewPoints"
],
"type": "boolean"
},
{
"path": [
"enableGeolocation"
],
"type": "boolean"
},
{
"path": [
"enableBackgroundLayerSelection"
],
"type": "boolean"
},
{
"path": [
"enableShowAllQuestions"
],
"type": "boolean"
},
{
"path": [
"enableDownload"
],
"type": "boolean"
},
{
"path": [
"enablePdfDownload"
],
"type": "boolean"
},
{
"path": [
"enableNoteImports"
],
"type": "boolean"
},
{
"path": [
"overpassUrl"

View file

@ -19,6 +19,17 @@
"descriptionTail": {
"nl": "<p>Een initiatief van de 5 provinciale toeristische organisaties en Toerisme Vlaanderen</p><p><a href='https://www.toerismevlaanderen.be/pinjepunt'>Meer informatie op toerismevlaanderen.be</a></p><img style='height:5rem; width: auto; margin-top: 1.25rem; margin-bottom: 0.5rem; margin-left: 1.5rem;' src='./assets/themes/toerisme_vlaanderen/logo.png' />"
},
"extraLink": {
"icon": "./assets/svg/pop-out.svg",
"href": "https://mapcomplete.osm.be/{theme}.html?lat={lat}&lon={lon}&z={zoom}&language={language}",
"newTab": true,
"requirements": [
"iframe"
],
"text": {
"nl": "Open in volledig scherm"
}
},
"icon": "./assets/themes/toerisme_vlaanderen/logo.svg",
"startZoom": 8,
"startLat": 50.8536,