diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2016-08-09 13:16:49 +0200 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-01-31 09:33:41 +0000 |
commit | 9ef81d240ad8d27ea482f9a15d2647a6eee1f7f2 (patch) | |
tree | 63d54d6010fe0e34faeb93ca40f8d17044f254c1 /src/location/declarativemaps/declarativemaps.pri | |
parent | d7936f74bda527a85d69e7d1c412d79ee952d139 (diff) | |
download | qtlocation-9ef81d240ad8d27ea482f9a15d2647a6eee1f7f2.tar.gz |
Allow to create maps with groups of map items
This patch lets a user create an external qml file, and put multiple
map items inside a parent MapItemGroup{}, and add that element to a Map
item.
QDeclarativeGeoMap gets also two associated methods: addMapItemGroup and
removeMapItemGroup to deal with item groups at runtime.
Additionally, clearMapItems now clears also added item groups.
Task-number: QTBUG-55211
Change-Id: Ie4e602e4bda65fb56422b721be5fd34c54eb7954
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/location/declarativemaps/declarativemaps.pri')
-rw-r--r-- | src/location/declarativemaps/declarativemaps.pri | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/location/declarativemaps/declarativemaps.pri b/src/location/declarativemaps/declarativemaps.pri index 52e61049..e1054001 100644 --- a/src/location/declarativemaps/declarativemaps.pri +++ b/src/location/declarativemaps/declarativemaps.pri @@ -28,6 +28,7 @@ PRIVATE_HEADERS += \ declarativemaps/qdeclarativegeomapcopyrightsnotice_p.h \ declarativemaps/locationvaluetypehelper_p.h \ declarativemaps/qquickgeomapgesturearea_p.h \ + declarativemaps/qdeclarativegeomapitemgroup_p.h \ declarativemaps/mapitemviewdelegateincubator_p.h \ ../imports/positioning/qquickgeocoordinateanimation_p.h @@ -54,6 +55,7 @@ SOURCES += \ declarativemaps/error_messages.cpp \ declarativemaps/locationvaluetypehelper.cpp \ declarativemaps/qquickgeomapgesturearea.cpp \ + declarativemaps/qdeclarativegeomapitemgroup.cpp \ ../imports/positioning/qquickgeocoordinateanimation.cpp \ declarativemaps/mapitemviewdelegateincubator.cpp |