summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@theqtcompany.com>2015-02-06 15:40:40 +0100
committerKai Koehne <kai.koehne@theqtcompany.com>2015-02-10 15:18:59 +0000
commite79664336f35f55a0241fdc0a45c7f15911e4da5 (patch)
treeb1479f93c16eb5711d2bb19a2a9f923b9834e352 /src
parent4f1f141f2cc4ce1653919f08701092ce38583861 (diff)
downloadqtlocation-e79664336f35f55a0241fdc0a45c7f15911e4da5.tar.gz
Change default maximum zoomlevel change per inch for Map
This means the pinch gesture zooms much quicker which brings it roughly in line with mouse wheel gestures. Change-Id: I0908b309c8ad60bfd520c9ed150982d9ca69e4fd Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r--src/imports/location/qdeclarativegeomapgesturearea.cpp2
-rw-r--r--src/imports/location/qdeclarativegeomapgesturearea_p.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/location/qdeclarativegeomapgesturearea.cpp b/src/imports/location/qdeclarativegeomapgesturearea.cpp
index bdba9110..9ac86a6e 100644
--- a/src/imports/location/qdeclarativegeomapgesturearea.cpp
+++ b/src/imports/location/qdeclarativegeomapgesturearea.cpp
@@ -242,7 +242,7 @@ QT_BEGIN_NAMESPACE
It is an indicative measure calculated from the dimensions of the
map area, roughly corresponding how much zoom level could change with
- maximum pinch zoom. Default value is 2.0, maximum value is 10.0
+ maximum pinch zoom. Default value is 4.0, maximum value is 10.0
*/
/*!
diff --git a/src/imports/location/qdeclarativegeomapgesturearea_p.h b/src/imports/location/qdeclarativegeomapgesturearea_p.h
index 863d4bdd..40899526 100644
--- a/src/imports/location/qdeclarativegeomapgesturearea_p.h
+++ b/src/imports/location/qdeclarativegeomapgesturearea_p.h
@@ -244,7 +244,7 @@ private:
struct Zoom
{
Zoom() : minimum(-1.0), maximum(-1.0), start(0.0), previous(0.0),
- maximumChange(2.0) {}
+ maximumChange(4.0) {}
qreal minimum;
qreal maximum;
qreal start;