diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-08-02 00:51:09 +0300 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-08-02 00:51:12 +0300 |
commit | 5cb1d28861437172887952db447f324aa56ce8a4 (patch) | |
tree | fd6d63d4f56c2710f24d53750ad3b9cf357a2171 /mobile-widgets/qml/MapWidget.qml | |
parent | 2e057bc29ad7a5182df64b7942b2b21a08600552 (diff) | |
download | subsurface-5cb1d28861437172887952db447f324aa56ce8a4.tar.gz |
mapwidget.qml: use a custom built googlemaps plugin
This patch makes use of the geolocation plugin "googlemaps"
for Qt Location with source code from here:
https://github.com/vladest/googlemaps
The change from the ESRI plugin is that it requires new indexes
for the Hybrid ([3]) and Street ([0]) map types.
There are more zoom levels in this plugins, but our default zoom-in
settings seem to transition well to it.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'mobile-widgets/qml/MapWidget.qml')
-rw-r--r-- | mobile-widgets/qml/MapWidget.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mobile-widgets/qml/MapWidget.qml b/mobile-widgets/qml/MapWidget.qml index 28975ee12..3c948a334 100644 --- a/mobile-widgets/qml/MapWidget.qml +++ b/mobile-widgets/qml/MapWidget.qml @@ -9,7 +9,7 @@ Item { Plugin { id: mapPlugin - name: "esri" + name: "googlemaps" } MapWidgetHelper { @@ -27,7 +27,7 @@ Item { plugin: mapPlugin zoomLevel: 1 - readonly property var mapType: { "STREET": supportedMapTypes[0], "SATELLITE": supportedMapTypes[1] } + readonly property var mapType: { "STREET": supportedMapTypes[0], "SATELLITE": supportedMapTypes[3] } readonly property var defaultCenter: QtPositioning.coordinate(0, 0) readonly property real defaultZoomIn: 12.0 readonly property real defaultZoomOut: 1.0 |