summaryrefslogtreecommitdiff
path: root/src/location/declarativemaps/qdeclarativegeomap_p.h
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2017-02-14 16:05:15 +0200
committerPaolo Angelelli <paolo.angelelli@qt.io>2017-02-17 17:06:22 +0000
commit85c5a6f68a801250bf40eba9546bbd342633327d (patch)
treead2d7f06202333b99c3d33ba0a4d224fa439daf1 /src/location/declarativemaps/qdeclarativegeomap_p.h
parent6e5eead48216dc0dceb94235436133e47563b553 (diff)
downloadqtlocation-85c5a6f68a801250bf40eba9546bbd342633327d.tar.gz
Fix support for MapParameters on Mapbox GL plugin
Mapbox GL plugin can now accept MapParameters, such as MapParameters used for the Mapbox runtime style API, allowing runtime changes on the map, not restricted only to style, but also adding new geometries and features. Change-Id: If0394bd044a2d3058fe5480966880a1055614ea2 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Diffstat (limited to 'src/location/declarativemaps/qdeclarativegeomap_p.h')
-rw-r--r--src/location/declarativemaps/qdeclarativegeomap_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeomap_p.h b/src/location/declarativemaps/qdeclarativegeomap_p.h
index d7aee60f..a7519a48 100644
--- a/src/location/declarativemaps/qdeclarativegeomap_p.h
+++ b/src/location/declarativemaps/qdeclarativegeomap_p.h
@@ -55,8 +55,8 @@
#include <QtLocation/qgeoserviceprovider.h>
#include <QtLocation/private/qgeocameradata_p.h>
#include <QtQuick/QQuickItem>
+#include <QtCore/QList>
#include <QtCore/QPointer>
-#include <QtCore/QSet>
#include <QtGui/QColor>
#include <QtPositioning/qgeoshape.h>
#include <QtLocation/private/qgeomap_p.h>
@@ -257,7 +257,7 @@ private:
bool m_copyrightsVisible;
double m_maximumViewportLatitude;
bool m_initialized;
- QSet<QDeclarativeGeoMapParameter *> m_mapParameters;
+ QList<QDeclarativeGeoMapParameter *> m_mapParameters;
friend class QDeclarativeGeoMapItem;
friend class QDeclarativeGeoMapItemView;