summaryrefslogtreecommitdiffstats
path: root/examples/location/mapviewer/mapviewer.qml
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@theqtcompany.com>2015-02-10 18:17:11 +0100
committerMichal Klocek <michal.klocek@theqtcompany.com>2015-04-13 14:52:44 +0000
commit8fc647f7c458de87739f45cf3e4cd47d0d35e91b (patch)
tree5281fd4876371c4617b2dd648b4db8232bd5add5 /examples/location/mapviewer/mapviewer.qml
parenta8193faf3ee531a701706cc23cf7556275d505a0 (diff)
Replaces slider and language button with qtquickcontrols.
Change-Id: I0371e55b59062d38a7bde46c0e7f0182e863d92f Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'examples/location/mapviewer/mapviewer.qml')
-rw-r--r--examples/location/mapviewer/mapviewer.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/location/mapviewer/mapviewer.qml b/examples/location/mapviewer/mapviewer.qml
index b13d4179..f6f90f84 100644
--- a/examples/location/mapviewer/mapviewer.qml
+++ b/examples/location/mapviewer/mapviewer.qml
@@ -153,6 +153,7 @@ ApplicationWindow {
map.plugin = plugin;
+ map.zoomLevel = (map.maximumZoomLevel - map.minimumZoomLevel)/2
tempGeocodeModel.plugin = plugin;
mapTypeMenu.update();
toolsMenu.update();