diff --git a/Logic/Osm/Overpass.ts b/Logic/Osm/Overpass.ts index d0aa14343c..3a883ce6a7 100644 --- a/Logic/Osm/Overpass.ts +++ b/Logic/Osm/Overpass.ts @@ -37,11 +37,12 @@ export class Overpass { } Utils.downloadJson(query) .then(json => { - if (json.elements === [] && json.remarks.indexOf("runtime error") > 0) { + if (json.elements === [] && (json.remarks.indexOf("runtime error") > 0)) { console.log("Timeout or other runtime error"); onFail("Runtime error (timeout)") return; } + ExtractRelations.RegisterRelations(json) // @ts-ignore diff --git a/assets/themes/cycle_highways/cycle_highways.json b/assets/themes/cycle_highways/cycle_highways.json index 5b9ca7e192..4ea4e2f630 100644 --- a/assets/themes/cycle_highways/cycle_highways.json +++ b/assets/themes/cycle_highways/cycle_highways.json @@ -14,13 +14,14 @@ "language": [ "en" ], - "version": "2021-05-22", + "version": "2021-08-23", "startLat": 51.1599, "startLon": 3.3475, - "startZoom": 8, + "startZoom": 10, "clustering": { "maxZoom": 1 }, + "widenFactor": 0.005, "enableDownload": true, "enablePdfDownload": true, "layers": [ diff --git a/assets/themes/cycle_highways/fietssnelwegen-logo.svg b/assets/themes/cycle_highways/fietssnelwegen-logo.svg index c4d6c96658..0cffc1071c 100644 --- a/assets/themes/cycle_highways/fietssnelwegen-logo.svg +++ b/assets/themes/cycle_highways/fietssnelwegen-logo.svg @@ -1,64 +1,65 @@ - - - - - - - - - + + + +image/svg+xml + + + + + \ No newline at end of file