|
Maps SDK for C++ 1.0.0
|
Mutable collection of overlay items. More...


Public Member Functions | |
| OverlayMutableCollection & | add (int overlayId) noexcept |
| Add an online overlay to the collection. | |
| OverlayMutableCollection & | add (int overlayId, int categoryId) noexcept |
| Add an online overlay category to the collection. | |
| int | remove (int overlayId) noexcept |
| Remove the overlay from the collection. | |
| int | remove (int overlayId, int categoryId) noexcept |
| Remove the overlay category id from the collection. | |
| OverlayMutableCollection & | clear () noexcept |
| Clear all overlays in collection. | |
| int | size () const noexcept |
| Get the number of overlay datasets in this collection. | |
| const OverlayInfoRef | getOverlayAt (int index) const noexcept |
| Get the overlay at the specified index. | |
| const OverlayInfoRef | getOverlayByUid (int overlayUid) const noexcept |
| Get the overlay having the specified UID. | |
| bool | contains (int overlayId) const noexcept |
| Check if overlay is added to the collection. | |
| bool | contains (int overlayId, int categoryId) const noexcept |
| Check if overlay category is added to the collection. | |
| template<typename TCollector> | |
| bool | iterateOverlays (TCollector collector) const |
| Iterate all overlays in the collection. | |
| template<typename TCollector> | |
| bool | iterateOverlaysAndCategories (TCollector collector) const |
| Iterate all overlays & categories in the collection. | |
Mutable collection of overlay items.
Implements share-read / write Api object over IOverlayCollection. Extends OverlayCollection by allowing overlays to be added, removed, or updated in a MapView at runtime.
|
inlinenoexcept |
Add an online overlay to the collection.
| [in] | overlayId | The overlay id. The list of available overlays can be obtained by using OverlayService |
Add an overlay to the collection. If the overlay has categories, all are added to the collection
|
inlinenoexcept |
Add an online overlay category to the collection.
| [in] | overlayId | The overlay id |
| [in] | categoryId | The overlay category id in OverlayInfo.getCategories result list |
Add an overlay category id to the collection
|
inlinenoexcept |
Clear all overlays in collection.
|
inlinenoexceptinherited |
Check if overlay is added to the collection.
| [in] | overlayId | The overlay id. The list of available overlays can be obtained by using OverlayService |
|
inlinenoexceptinherited |
Check if overlay category is added to the collection.
| [in] | overlayId | The overlay id. The list of available overlays can be obtained by using OverlayService |
| [in] | categoryId | The overlay category id in OverlayInfo.getCategories result list |
|
inlinenoexceptinherited |
Get the overlay at the specified index.
| index | The index of the overlay |
|
inlinenoexceptinherited |
Get the overlay having the specified UID.
| overlayUid | The overlay UID |
|
inlineinherited |
Iterate all overlays in the collection.
Collector should return true if iteration should continue and false if iteration should stop
| collector | The collector function |
| TCollector | The collector function type |
|
inlineinherited |
Iterate all overlays & categories in the collection.
Collector should return true if iteration should continue and false if iteration should stop
| collector | The collector function |
|
inlinenoexcept |
Remove the overlay from the collection.
| [in] | overlayId | The overlay id. The list of available overlays can be obtained by using OverlayService |
|
inlinenoexcept |
Remove the overlay category id from the collection.
| [in] | overlayId | The overlay id. The list of available overlays can be obtained by using OverlayService |
| [in] | categoryId | The overlay category id in OverlayInfo.getCategories result list |
|
inlinenoexceptinherited |
Get the number of overlay datasets in this collection.