Chore: theme linting
This commit is contained in:
parent
35cbaa7c33
commit
2476a2adb7
3 changed files with 15 additions and 14 deletions
|
@ -446,4 +446,4 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"allowMove": false
|
"allowMove": false
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,8 +27,8 @@
|
||||||
"_first_user_id:=get(feat)('comments')[0].uid",
|
"_first_user_id:=get(feat)('comments')[0].uid",
|
||||||
"_is_import_note:=(() => {const lines = feat.properties['_first_comment'].split('\\n'); const matchesMapCompleteURL = lines.map(l => l.match(\".*https://mapcomplete.\\(osm.be|org\\)/\\([a-zA-Z_-]+\\)\\(.html\\).*#import\")); const matchedIndexes = matchesMapCompleteURL.map((doesMatch, i) => [doesMatch !== null, i]).filter(v => v[0]).map(v => v[1]); return matchedIndexes[0] })()"
|
"_is_import_note:=(() => {const lines = feat.properties['_first_comment'].split('\\n'); const matchesMapCompleteURL = lines.map(l => l.match(\".*https://mapcomplete.\\(osm.be|org\\)/\\([a-zA-Z_-]+\\)\\(.html\\).*#import\")); const matchedIndexes = matchesMapCompleteURL.map((doesMatch, i) => [doesMatch !== null, i]).filter(v => v[0]).map(v => v[1]); return matchedIndexes[0] })()"
|
||||||
],
|
],
|
||||||
"minzoom": 7,
|
|
||||||
"isShown": "_total_comments>0",
|
"isShown": "_total_comments>0",
|
||||||
|
"minzoom": 7,
|
||||||
"title": {
|
"title": {
|
||||||
"render": {
|
"render": {
|
||||||
"en": "Note",
|
"en": "Note",
|
||||||
|
|
|
@ -9,15 +9,6 @@
|
||||||
"nl": "Wijzigingen gemaakt met MapComplete",
|
"nl": "Wijzigingen gemaakt met MapComplete",
|
||||||
"ko": "MapComplete로 이루어진 변경 사항"
|
"ko": "MapComplete로 이루어진 변경 사항"
|
||||||
},
|
},
|
||||||
"shortDescription": {
|
|
||||||
"en": "Shows changes made by MapComplete",
|
|
||||||
"de": "Zeigt die von MapComplete vorgenommenen Änderungen an",
|
|
||||||
"cs": "Zobrazuje změny provedené nástrojem MapComplete",
|
|
||||||
"es": "Muestra los cambios realizados por MapComplete",
|
|
||||||
"fr": "Afficher les modifications faites avec MapComplete",
|
|
||||||
"nl": "Toont wijzigingen gemaakt met MapComplete",
|
|
||||||
"ko": "MapComplete를 통해 이루어진 변경 사항을 표시합니다"
|
|
||||||
},
|
|
||||||
"description": {
|
"description": {
|
||||||
"en": "This maps shows all the changes made with MapComplete",
|
"en": "This maps shows all the changes made with MapComplete",
|
||||||
"de": "Diese Karte zeigt alle mit MapComplete vorgenommenen Änderungen",
|
"de": "Diese Karte zeigt alle mit MapComplete vorgenommenen Änderungen",
|
||||||
|
@ -28,11 +19,17 @@
|
||||||
"nl": "Deze kaarten tonen alle wijzigingen die zijn gemaakt met MapComplete",
|
"nl": "Deze kaarten tonen alle wijzigingen die zijn gemaakt met MapComplete",
|
||||||
"ko": "이 지도는 MapComplete를 사용하여 이루어진 모든 변경 사항을 표시합니다"
|
"ko": "이 지도는 MapComplete를 사용하여 이루어진 모든 변경 사항을 표시합니다"
|
||||||
},
|
},
|
||||||
|
"shortDescription": {
|
||||||
|
"en": "Shows changes made by MapComplete",
|
||||||
|
"de": "Zeigt die von MapComplete vorgenommenen Änderungen an",
|
||||||
|
"cs": "Zobrazuje změny provedené nástrojem MapComplete",
|
||||||
|
"es": "Muestra los cambios realizados por MapComplete",
|
||||||
|
"fr": "Afficher les modifications faites avec MapComplete",
|
||||||
|
"nl": "Toont wijzigingen gemaakt met MapComplete",
|
||||||
|
"ko": "MapComplete를 통해 이루어진 변경 사항을 표시합니다"
|
||||||
|
},
|
||||||
"icon": "./assets/svg/logo.svg",
|
"icon": "./assets/svg/logo.svg",
|
||||||
"hideFromOverview": true,
|
"hideFromOverview": true,
|
||||||
"startLat": 0,
|
|
||||||
"startLon": 0,
|
|
||||||
"startZoom": 1,
|
|
||||||
"layers": [
|
"layers": [
|
||||||
{
|
{
|
||||||
"id": "mapcomplete-changes",
|
"id": "mapcomplete-changes",
|
||||||
|
@ -494,6 +491,10 @@
|
||||||
"if": "theme=rainbow_crossings",
|
"if": "theme=rainbow_crossings",
|
||||||
"then": "./assets/themes/rainbow_crossings/logo.svg"
|
"then": "./assets/themes/rainbow_crossings/logo.svg"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"if": "theme=scouting",
|
||||||
|
"then": "./assets/layers/scouting_group/scouting.svg"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"if": "theme=shops",
|
"if": "theme=shops",
|
||||||
"then": "./assets/themes/shops/shop.svg"
|
"then": "./assets/themes/shops/shop.svg"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue