Merge branch 'develop'
This commit is contained in:
commit
a3f7a0fd4e
4 changed files with 10 additions and 8 deletions
3
assets/themes/velopark/velopark.css
Normal file
3
assets/themes/velopark/velopark.css
Normal file
|
@ -0,0 +1,3 @@
|
|||
.tr-qr_code , .tr-favourite_status {
|
||||
display: none;
|
||||
}
|
|
@ -4,6 +4,7 @@
|
|||
"en": "Velopark to OpenStreetMap synchronisation tool",
|
||||
"nl": "Velopark naar OpenStreetMap sync tool"
|
||||
},
|
||||
"customCss": "./assets/themes/velopark/velopark.css",
|
||||
"mustHaveLanguage": [
|
||||
"nl",
|
||||
"en"
|
||||
|
@ -309,9 +310,7 @@
|
|||
],
|
||||
"hideTagRenderingsWithLabels": [
|
||||
"images",
|
||||
"leftover-questions",
|
||||
"qr_code",
|
||||
"favourite_status"
|
||||
"leftover-questions"
|
||||
],
|
||||
"override": {
|
||||
"id": "bike_parking_with_velopark_ref",
|
||||
|
@ -395,9 +394,7 @@
|
|||
],
|
||||
"hideTagRenderingsWithLabels": [
|
||||
"images",
|
||||
"leftover-questions",
|
||||
"qr_code",
|
||||
"favourite_status"
|
||||
"leftover-questions"
|
||||
],
|
||||
"override": {
|
||||
"doCount": false,
|
||||
|
|
|
@ -315,7 +315,9 @@ export default class LayoutConfig implements LayoutInformation {
|
|||
continue
|
||||
}
|
||||
if (layer.source.osmTags.matchesProperties(tags)) {
|
||||
return layer
|
||||
if(!layer.isShown || layer.isShown.matchesProperties(tags)){// https://github.com/pietervdvn/MapComplete/issues/1959
|
||||
return layer
|
||||
}
|
||||
}
|
||||
}
|
||||
console.log("Fallthrough", this, tags)
|
||||
|
|
|
@ -193,7 +193,7 @@ export default class TagApplyButton implements AutoAction, SpecialVisualization
|
|||
}
|
||||
return el
|
||||
})
|
||||
).SetClass("subtle")
|
||||
).SetClass("subtle break-all")
|
||||
const applied = new UIEventSource(
|
||||
tags?.data?.["mr_taskStatus"] !== undefined &&
|
||||
tags?.data?.["mr_taskStatus"] !== "Created"
|
||||
|
|
Loading…
Reference in a new issue