diff options
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r-- | mobile-widgets/qml/MapPage.qml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mobile-widgets/qml/MapPage.qml b/mobile-widgets/qml/MapPage.qml index fdfcfa213..f2d64215c 100644 --- a/mobile-widgets/qml/MapPage.qml +++ b/mobile-widgets/qml/MapPage.qml @@ -30,6 +30,10 @@ Kirigami.Page { } diveList.setCurrentDiveListIndex(idx, true) } + Component.onCompleted: { + mapWidget.map.zoomLevel = mapWidget.map.defaultZoomOut + mapWidget.map.center = mapWidget.map.defaultCenter + } } function reloadMap() { |