diff options
author | Aaron McCarthy <aaron.mccarthy@jollamobile.com> | 2014-07-17 12:08:30 +1000 |
---|---|---|
committer | Aaron McCarthy <mccarthy.aaron@gmail.com> | 2014-07-21 02:12:30 +0200 |
commit | 4bdf3bc386d8ace566633ae56505b9875764b16a (patch) | |
tree | 9a13360f8960523f880ffdd8d8810f52582a4c52 /tests/auto/qgeocameratiles | |
parent | f2e3523e3fcec83845a0ec73ff682367202a84f6 (diff) | |
download | qtlocation-4bdf3bc386d8ace566633ae56505b9875764b16a.tar.gz |
Add night property to MapType.
Similar to the mobile property this property allows applications to
determine if the tile set is optimized for night time use.
Change-Id: Ibaaffe6f745d90817b5938f493742fb019be0312
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'tests/auto/qgeocameratiles')
-rw-r--r-- | tests/auto/qgeocameratiles/tst_qgeocameratiles.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qgeocameratiles/tst_qgeocameratiles.cpp b/tests/auto/qgeocameratiles/tst_qgeocameratiles.cpp index be216dfe..6450b150 100644 --- a/tests/auto/qgeocameratiles/tst_qgeocameratiles.cpp +++ b/tests/auto/qgeocameratiles/tst_qgeocameratiles.cpp @@ -132,7 +132,7 @@ private slots: ct.setTileSize(16); ct.setCamera(camera); ct.setScreenSize(QSize(32, 32)); - ct.setMapType(QGeoMapType(QGeoMapType::StreetMap, "street map", "street map", false, 1)); + ct.setMapType(QGeoMapType(QGeoMapType::StreetMap, "street map", "street map", false, false, 1)); QSet<QGeoTileSpec> tiles1 = ct.tiles(); @@ -185,7 +185,7 @@ private slots: QSet<QGeoTileSpec> tiles1 = ct.tiles(); - QGeoMapType mapType1 = QGeoMapType(QGeoMapType::StreetMap, "street map", "street map", false, 1); + QGeoMapType mapType1 = QGeoMapType(QGeoMapType::StreetMap, "street map", "street map", false, false, 1); ct.setMapType(mapType1); QSet<QGeoTileSpec> tiles2 = ct.tiles(); @@ -203,7 +203,7 @@ private slots: QCOMPARE(tiles2, tiles2_check); - QGeoMapType mapType2 = QGeoMapType(QGeoMapType::StreetMap, "satellite map", "satellite map", false, 2); + QGeoMapType mapType2 = QGeoMapType(QGeoMapType::StreetMap, "satellite map", "satellite map", false, false, 2); ct.setMapType(mapType2); QSet<QGeoTileSpec> tiles3 = ct.tiles(); |