summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron McCarthy <mccarthy.aaron@gmail.com>2015-01-23 14:51:38 +1000
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-01-28 07:53:48 +0000
commit980ec646fb3103988addb7c2e6b3c7f83a99658c (patch)
tree0e6c69a8ecb6c318361ffebb68d5f3593e340f5d
parentbbb1839392f24fe133ab182ffe36b2e2b0304edf (diff)
downloadqtlocation-980ec646fb3103988addb7c2e6b3c7f83a99658c.tar.gz
Add cycle map type.
Defines CycleMap type which is optimised for cyclists. Change-Id: Ib9076307a7ba0d5ac103220fc3cc816dec53148a Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
-rw-r--r--src/imports/location/qdeclarativegeomaptype.cpp1
-rw-r--r--src/imports/location/qdeclarativegeomaptype_p.h1
-rw-r--r--src/location/maps/qgeomaptype_p.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/imports/location/qdeclarativegeomaptype.cpp b/src/imports/location/qdeclarativegeomaptype.cpp
index 02f59f17..2bbd8fe9 100644
--- a/src/imports/location/qdeclarativegeomaptype.cpp
+++ b/src/imports/location/qdeclarativegeomaptype.cpp
@@ -73,6 +73,7 @@ QDeclarativeGeoMapType::~QDeclarativeGeoMapType() {}
\li MapType.GrayStreetMap - A gray-shaded street map.
\li MapType::PedestrianMap - A street map suitable for pedestriants.
\li MapType::CarNavigationMap - A street map suitable for car navigation.
+ \li MapType::CycleMap - A street map suitable for cyclists.
\li MapType.CustomMap - A custom map type.
\endlist
*/
diff --git a/src/imports/location/qdeclarativegeomaptype_p.h b/src/imports/location/qdeclarativegeomaptype_p.h
index 3750887b..70834402 100644
--- a/src/imports/location/qdeclarativegeomaptype_p.h
+++ b/src/imports/location/qdeclarativegeomaptype_p.h
@@ -63,6 +63,7 @@ public:
GrayStreetMap = QGeoMapType::GrayStreetMap,
PedestrianMap = QGeoMapType::PedestrianMap,
CarNavigationMap = QGeoMapType::CarNavigationMap,
+ CycleMap = QGeoMapType::CycleMap,
CustomMap = 100
};
diff --git a/src/location/maps/qgeomaptype_p.h b/src/location/maps/qgeomaptype_p.h
index 2b6faa02..d31dca5c 100644
--- a/src/location/maps/qgeomaptype_p.h
+++ b/src/location/maps/qgeomaptype_p.h
@@ -67,6 +67,7 @@ public:
GrayStreetMap,
PedestrianMap,
CarNavigationMap,
+ CycleMap,
CustomMap = 100
};