From 91b73878da8ac3c7d8c237eb03d03d9e4582447f Mon Sep 17 00:00:00 2001 From: Hauke Schade Date: Sat, 23 Nov 2024 08:31:40 +0100 Subject: [PATCH] feat: switch to Openfreemap per default as not everybody has OSMScout installed --- qml/harbour-rainviewer.qml | 2 +- qml/pages/Settings.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qml/harbour-rainviewer.qml b/qml/harbour-rainviewer.qml index dc5c642..f520dc7 100644 --- a/qml/harbour-rainviewer.qml +++ b/qml/harbour-rainviewer.qml @@ -32,7 +32,7 @@ ApplicationWindow { synchronous: true property string mapboxApiKey - property string mapstyle: "http://localhost:8553/v1/mbgl/style?style=osmbright" + property string mapstyle: "https://tiles.openfreemap.org/styles/bright" property int tileSize: 256 property bool immediateSlider: true property bool antialiasing: true diff --git a/qml/pages/Settings.qml b/qml/pages/Settings.qml index a93a9cf..0f7ee03 100644 --- a/qml/pages/Settings.qml +++ b/qml/pages/Settings.qml @@ -67,7 +67,7 @@ Dialog { menu: ContextMenu { MenuItem { - text: "Osmscout Server" + text: "OSMScout Server (required to run locally)" property string url: "http://localhost:8553/v1/mbgl/style?style=osmbright" Component.onCompleted: if (url === settings.mapstyle) mapstyleSetting.currentIndex = 0 }