diff options
author | Aaron McCarthy <mccarthy.aaron@gmail.com> | 2015-01-23 14:51:38 +1000 |
---|---|---|
committer | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-01-28 07:53:48 +0000 |
commit | 980ec646fb3103988addb7c2e6b3c7f83a99658c (patch) | |
tree | 0e6c69a8ecb6c318361ffebb68d5f3593e340f5d /src/imports | |
parent | bbb1839392f24fe133ab182ffe36b2e2b0304edf (diff) | |
download | qtlocation-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>
Diffstat (limited to 'src/imports')
-rw-r--r-- | src/imports/location/qdeclarativegeomaptype.cpp | 1 | ||||
-rw-r--r-- | src/imports/location/qdeclarativegeomaptype_p.h | 1 |
2 files changed, 2 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 }; |