summaryrefslogtreecommitdiff
path: root/examples/location/mapviewer/map/MapComponent.qml
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2017-03-10 15:59:52 +0100
committerPaolo Angelelli <paolo.angelelli@qt.io>2017-03-13 10:31:23 +0000
commitb0480d83282d76c6740ed71323155adbf97de9fa (patch)
tree69a4d6e257b0029431e8806d5f41a6c1aca0fa54 /examples/location/mapviewer/map/MapComponent.qml
parentdca175454aefdd019952d941c6369c314e8c3b11 (diff)
downloadqtlocation-b0480d83282d76c6740ed71323155adbf97de9fa.tar.gz
Polish MapViewer example
This patch does some improvements to the MapViewer example. Namely: - sliders, which have been problematic in many ways, are now from QtQuickControls 2, and this solves a couple of glitches. - changing map provider now retains tilt, bearing and field of view, if possible. - High DPI scaling is enabled by default in main() - the slider panel is open at start Change-Id: I1cc380e3d05b89aa547139d912c142e4f0d266c9 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'examples/location/mapviewer/map/MapComponent.qml')
-rw-r--r--examples/location/mapviewer/map/MapComponent.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/location/mapviewer/map/MapComponent.qml b/examples/location/mapviewer/map/MapComponent.qml
index c3d5dfd2..c450a150 100644
--- a/examples/location/mapviewer/map/MapComponent.qml
+++ b/examples/location/mapviewer/map/MapComponent.qml
@@ -61,6 +61,7 @@ Map {
property alias routeQuery: routeQuery
property alias routeModel: routeModel
property alias geocodeModel: geocodeModel
+ property alias slidersExpanded: sliders.expanded
signal showGeocodeInfo()
signal geocodeFinished()