diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-06-09 15:56:41 +0200 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-08-07 07:49:18 +0000 |
commit | c6d41bdb24dbfcd846ca2669cee7b83be3e7be0a (patch) | |
tree | e5ba8b752d1ed509bf14573245675fc32a8ee557 /src/location/declarativemaps/qdeclarativegeomapitemview.cpp | |
parent | 92d8e4dc93400250b47f8dbe96ec7e2f748d8d4b (diff) | |
download | qtlocation-c6d41bdb24dbfcd846ca2669cee7b83be3e7be0a.tar.gz |
Add invokables to add/remove mapItemViews
This patch adds two new methods to QDeclarativeGeoMap, to allow users
to add or remove MapItemViews at runtime.
[ChangeLog][QtLocation][Map] Added methods to add or remove MapItemViews
at runtime.
Task-number: QTBUG-55782
Change-Id: I4e612a9476a864331f61d49dac811a8069ae010f
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/location/declarativemaps/qdeclarativegeomapitemview.cpp')
-rw-r--r-- | src/location/declarativemaps/qdeclarativegeomapitemview.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeomapitemview.cpp b/src/location/declarativemaps/qdeclarativegeomapitemview.cpp index a17bf672..d8c19528 100644 --- a/src/location/declarativemaps/qdeclarativegeomapitemview.cpp +++ b/src/location/declarativemaps/qdeclarativegeomapitemview.cpp @@ -431,6 +431,9 @@ void QDeclarativeGeoMapItemView::instantiateAllItems() fitViewport(); } +/* + * used internally +*/ void QDeclarativeGeoMapItemView::removeItemData(QDeclarativeGeoMapItemViewItemData *itemData) { if (!itemData) |