diff --git a/assets/themes/velopark/velopark.json b/assets/themes/velopark/velopark.json index 1adabe369..ac28f1404 100644 --- a/assets/themes/velopark/velopark.json +++ b/assets/themes/velopark/velopark.json @@ -1,4 +1,5 @@ { + "id": "velopark", "title": { "en": "Velopark to OpenStreetMap synchronisation tool", @@ -26,7 +27,7 @@ "defaultBackgroundId": "photo", "hideFromOverview": true, "layers": [ - { + { "id": "velopark_maproulette", "description": "Maproulette challenge containing velopark data", "source": { @@ -34,7 +35,7 @@ "geoJson": "https://maproulette.org/api/v2/challenge/view/43282" }, "title": { - "render": "Velopark parking {mr_velopark_id}" + "render": "Velopark parking {mr_velopark_id}" }, "name": { "en": "Velopark data", @@ -47,19 +48,6 @@ } ], "tagRenderings": [ - { - "id": "Explanation", - "render": { - "en": "This is data from Velopark. ", - "nl": "Dit datapunt komt van Velopark" - } - }, - { - "id": "velopark-id-display", - "render": { - "*": "{ref:velopark}" - } - }, { "id": "velopark-link", "render": { @@ -70,9 +58,14 @@ "en": "See on velopark (webpage)", "nl": "Bekijk op Velopark (webpagina)" } + }, + "before": { + "en": "This is data from Velopark. ", + "nl": "Dit datapunt komt van Velopark" } } }, + { "id": "login", "render": { @@ -84,8 +77,8 @@ { "id": "closest_parkings", "render": { - "en": "There are {_nearby_bicycle_parkings:count} bicycle parkings within 25m known in OpenStreetMap. ", - "nl": "Er zijn {_nearby_bicycle_parkings:count} fietsparkings gekend binnen 25m in OpenStreetMap. " + "en": "

Nearby parkings

There are {_nearby_bicycle_parkings:count} bicycle parkings within 25m known in OpenStreetMap.", + "nl": "

Parkings in de buurt

Er zijn {_nearby_bicycle_parkings:count} fietsparkings gekend binnen 25m in OpenStreetMap." } }, { @@ -103,6 +96,13 @@ } } }, + { + "id": "title_create_new", + "render": { + "en": "

Add a parking to OpenStreetMap

Use this if the bicycle parking is missing in OpenStreetMap (there is no blue or green pin)", + "nl": "

Parking toevoegen aan OpenStreetMap

Gebruik dit als er nog geen blauwe of groene parkeerplaats-pin staat op de juiste plaats." + } + }, { "id": "import_point", "render": { @@ -118,6 +118,13 @@ } } }, + { + "id": "title_manually_copy", + "render": { + "en": "

Manually link

Does the bicycle parking exist in OpenStreetMap but is it further then 25m away? Then:
  1. Copy the following URL: {ref:velopark}
  2. Select the correct bicycle parking on the map
  3. Paste the URL into the question What is the URL of the data path in Velopark?
  4. Mark this item as handled with the button below:
  5. ", + "nl": "

    Manueel linken

    " + } + }, { "id": "close_mr", "render": { @@ -131,6 +138,14 @@ } } }, + { + "id": "title_error", + "render": { + "en": "

    Closing without importing or linking

    ", + "nl": "

    Afsluiten zonder importeren of linken

    " + + } + }, { "id": "close_mr_incorrect", "render": { @@ -149,8 +164,14 @@ } } }, - "{nearby_images(open,readonly)}", { + "id": "title_debug", + "render": { + "en": "

    Extra information

    ", + "nl": "

    Extra informatie

    " + } + }, + { "id": "show-data-velopark", "render": { "special": { @@ -171,7 +192,8 @@ "text": "Inspect raw data on velopark.be" } } - } + }, + "{nearby_images(open,readonly)}" ], "lineRendering": [], "filter": [ @@ -241,6 +263,7 @@ "builtin": [ "bike_parking" ], + "hideTagRenderingsWithLabels": ["images","leftover-questions"], "override": { "id": "bike_parking_with_velopark_ref", "=presets": [], @@ -294,6 +317,10 @@ } ] } + ], + "+tagRenderings": ["questions"], + "tagRenderings+": [ + "images" ] } }, @@ -301,9 +328,14 @@ "builtin": [ "bike_parking" ], + "hideTagRenderingsWithLabels": ["images","leftover-questions"], "override": { "doCount": false, - "minzoom": 14 + "minzoom": 14, + "+tagRenderings": ["questions"], + "tagRenderings+": [ + "images" + ] } }, { @@ -312,13 +344,16 @@ "bike_repair_station", "bicycle_rental" ], + "hideTagRenderingsWithLabels": ["leftover-questions"], "override": { + "+tagRenderings": ["questions"], "doCount": false, "minzoom": 18 } } ], "overrideAll": { + "popupInFloatover": "title", "+tagRenderings": [ { "id": "velopark-ref", @@ -340,11 +375,16 @@ "path": "./assets/themes/velopark/velopark.svg", "class": "medium" }, + "classes": "flex w-full ", "render": { "special": { "type": "link", "href": "{ref:velopark}", "text": "{ref:velopark}" + }, + "before": { + "en": "This bicycle parking is on OpenStreetMap and is linked to Velopark:", + "nl": "Deze fietsenstalling staat op OpenStreetMap en is gelinkt naar Velopark:" } } },