aboutsummaryrefslogtreecommitdiff
path: root/src/MainMapView.qml
diff options
context:
space:
mode:
authorArseniy Movshev <dodoradio@outlook.com>2022-10-22 14:35:59 +0100
committerArseniy Movshev <dodoradio@outlook.com>2023-01-07 14:19:29 +0000
commitcf634a3ed47e756d70f0228044ebd0be794886f9 (patch)
treefc45a5adae1088a8ff61b886d0cae9f7a457db60 /src/MainMapView.qml
parent95c72f71f9382e3bf2918892edc1e7137391554d (diff)
Add a settings page
Diffstat (limited to 'src/MainMapView.qml')
-rw-r--r--src/MainMapView.qml15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/MainMapView.qml b/src/MainMapView.qml
index 9a00a45..82815f9 100644
--- a/src/MainMapView.qml
+++ b/src/MainMapView.qml
@@ -4,6 +4,11 @@ import QtPositioning 5.15
import QtLocation 5.15
Item {
+ Label {
+ text: "Map Data from OpenStreetMap"
+ anchors.centerIn: parent
+ z: 0
+ }
Map {
id: mapView
plugin: mapProvider
@@ -20,7 +25,7 @@ Item {
width: height
iconColor: "blue"
z: 2
- onClicked: mapView.zoomLevel = mapView.zoomLevel + 0.1
+ onClicked: mapView.zoomLevel = mapView.zoomLevel + 0.3
}
IconButton {
iconName: "ios-remove-circle-outline"
@@ -30,7 +35,7 @@ Item {
width: height
iconColor: "blue"
z: 2
- onClicked: mapView.zoomLevel = mapView.zoomLevel - 0.1
+ onClicked: mapView.zoomLevel = mapView.zoomLevel - 0.3
}
IconButton {
iconName: "ios-locate-outline"
@@ -49,10 +54,6 @@ Item {
width: height
iconColor: "blue"
z: 2
- // Icon {
- // anchors.fill: parent
- // name: "ios-circle-outline"
- // // color: parent.iconColor
- // }
+ onClicked: pageStack.push(settingsPage,{})
}
}