Small improvements
This commit is contained in:
parent
ae21e33077
commit
466527e0f8
4 changed files with 18 additions and 11 deletions
|
@ -35,7 +35,10 @@ export default class AllDownloads extends ScrollableFullScreen {
|
|||
}
|
||||
|
||||
const pdf = new Toggle(
|
||||
new SubtleButton(Svg.floppy_ui(), Translations.t.general.download.downloadAsPdf.Clone().SetClass("font-bold"),)
|
||||
new SubtleButton(Svg.floppy_ui(),
|
||||
new Combine([Translations.t.general.download.downloadAsPdf.Clone().SetClass("font-bold"),
|
||||
Translations.t.general.download.downloadAsPdfHelper.Clone()]
|
||||
).SetClass("flex flex-col"))
|
||||
.onClick(generatePdf),
|
||||
undefined,
|
||||
|
||||
|
|
|
@ -31,7 +31,10 @@
|
|||
},
|
||||
{
|
||||
"if": {
|
||||
"or": ["toilets:position=urinals", "toilets:position=urinal"]
|
||||
"or": [
|
||||
"toilets:position=urinals",
|
||||
"toilets:position=urinal"
|
||||
]
|
||||
},
|
||||
"then": "./assets/layers/toilet/urinal.svg"
|
||||
}
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
},
|
||||
"then": {
|
||||
"nl": "Fietsweg",
|
||||
"en": "Bike road"
|
||||
"en": "Cycleway"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -89,7 +89,7 @@
|
|||
{
|
||||
"if": "cycleway=track",
|
||||
"then": {
|
||||
"en": "Bike road next to the road",
|
||||
"en": "Cycleway 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 fietstraat, en dus een 30km/h zone"
|
||||
"nl": "Dit is een fietsstraat, 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 fietstraat"
|
||||
"nl": "Dit is een fietsstraat"
|
||||
},
|
||||
"hideInAnswer": "_country=be"
|
||||
},
|
||||
|
@ -664,8 +664,8 @@
|
|||
{
|
||||
"if": "cycleway:traffic_sign~BE:D7;.*",
|
||||
"then": {
|
||||
"en": "Compulsory cycleway (with supplementary sign)<img src='./assets/themes/cycle_infra/Belgian_road_sign_D07.svg' style='width: 3em'> ",
|
||||
"nl": "Verplicht fietspad (met onderbord)<img src='./assets/themes/cycle_infra/Belgian_road_sign_D07.svg' style='width: 3em'>"
|
||||
"en": "Compulsory cycleway (with supplementary sign)<br><img src='./assets/themes/cycle_infra/Belgian_road_sign_D07.svg' style='width: 3em'> ",
|
||||
"nl": "Verplicht fietspad (met onderbord)<br><img src='./assets/themes/cycle_infra/Belgian_road_sign_D07.svg' style='width: 3em'>"
|
||||
},
|
||||
"hideInAnswer": true
|
||||
},
|
||||
|
@ -1274,7 +1274,7 @@
|
|||
"if": "cyclestreet=yes",
|
||||
"then": {
|
||||
"en": "This is a cyclestreet, and a 30km/h zone.",
|
||||
"nl": "Dit is een fietstraat, en dus een 30km/h zone"
|
||||
"nl": "Dit is een fietsstraat, en dus een 30km/h zone"
|
||||
},
|
||||
"addExtraTags": [
|
||||
"overtaking:motor_vehicle=no",
|
||||
|
@ -1286,7 +1286,7 @@
|
|||
"if": "cyclestreet=yes",
|
||||
"then": {
|
||||
"en": "This is a cyclestreet",
|
||||
"nl": "Dit is een fietstraat"
|
||||
"nl": "Dit is een fietsstraat"
|
||||
},
|
||||
"hideInAnswer": "_country=be"
|
||||
},
|
||||
|
|
|
@ -163,9 +163,10 @@
|
|||
"download": {
|
||||
"title": "Download visible data",
|
||||
"downloadAsPdf": "Download a PDF of the current map",
|
||||
"downloadAsPdfHelper": "Ideal to print the current map",
|
||||
"downloadGeojson": "Download visible data as geojson",
|
||||
"downloadGeoJsonHelper": "Compatible with QGIS, OsmAnd, ArcGIS, ESRI, ...",
|
||||
"downloadCSV": "Download as CSV",
|
||||
"downloadCSV": "Download visible data as CSV",
|
||||
"downloadCSVHelper": "Compatible with LibreOffice Calc, Excel, ...",
|
||||
"includeMetaData": "Include metadata (last editor, calculated values, ...)",
|
||||
"licenseInfo": "<h3>Copyright notice</h3>The provided is available under ODbL. Reusing this data is free for any purpose, but <ul><li>the attribution <b>© OpenStreetMap contributors</b> is required</li><li>Any change to this data must be republished under the same license</li></ul> Please read the full <a href='https://www.openstreetmap.org/copyright' target='_blank'>copyright notice</a> for details",
|
||||
|
|
Loading…
Reference in a new issue