|
Maps SDK for C++ 1.0.0
|
Read-only collection of overlays attached to a MapView. More...


Public Member Functions | |
| MapViewOverlayCollection & | setRenderSettingsByUid (int uid, const OverlayRenderSettings &settings) noexcept |
| Set overlay render settings. | |
| OverlayRenderSettings | getRenderSettingsByUid (int uid) const noexcept |
| Get rendering settings for the given overlay. | |
| 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. | |
Read-only collection of overlays attached to a MapView.
Implements share-read / write Api object over IOverlayCollection. Provides access to overlays currently present in a MapView, allowing applications to query and iterate overlay elements without modification.
|
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 |
|
inlinenoexcept |
Get rendering settings for the given overlay.
| [in] | uid | The overlay id. The list of available overlays can be obtained by using OverlayService |
|
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 |
Set overlay render settings.
| [in] | uid | The overlay uid. The list of available overlays can be obtained by using OverlayService |
| [in] | settings | The rendering settings |
|
inlinenoexceptinherited |
Get the number of overlay datasets in this collection.