|
Maps SDK for C++ 1.0.0
|
Map view marker collections. More...


Public Member Functions | |
| int | size () const noexcept |
| Get collection size. | |
| MarkerCollectionRef | getCollectionAt (int index) const noexcept |
| Get collection at index. | |
| int | indexOf (const MarkerCollection &col) const noexcept |
| Get the index of the given collection. | |
| int | indexOf (const String &name) const noexcept |
| Get the index of the given collection name. | |
| bool | contains (const MarkerCollection &col) const noexcept |
| Check if the specified collection is in the collection. | |
| MapViewMarkerCollections & | add (const MarkerCollection &col, const MarkerCollectionRenderSettings &settings=MarkerCollectionRenderSettings()) noexcept |
| Add collection. | |
| MapViewMarkerCollections & | remove (const MarkerCollection &col) noexcept |
| Remove collection. | |
| MapViewMarkerCollections & | remove (int index) noexcept |
| Remove collection. | |
| const MarkerCollectionRenderSettings * | getRenderSettings (int index) const noexcept |
| Gets collection render settings. | |
| const MarkerCollectionRenderSettings * | getDisplaySettings (int index) const noexcept |
| int | setRenderSettings (int index, const MarkerCollectionRenderSettings &settings) noexcept |
| Sets collection render settings. | |
| int | setDisplaySettings (int index, const MarkerCollectionRenderSettings &settings) noexcept |
| void | clear () |
| Remove all collections. | |
| MarkerMatchList | hitTest (const RectangleGeographicArea &area, const Marker *ignore=nullptr) const noexcept |
| Hit test in all collections. | |
| template<typename TCollector> | |
| bool | iterateCollections (TCollector collector) const noexcept |
| Iterate marker collections and call collector for each. | |
| int | save (DataBuffer &buffer) const noexcept |
| Serialize to buffer. | |
| int | load (const DataBuffer &buffer) noexcept |
| Deserialize from buffer. | |
| MarkerSketchesRef | sketches (EMarkerType type) const noexcept |
| Sketches collection access. | |
| bool | isSketches (const MarkerCollection &coll) const noexcept |
| Check if the given collection is a sketches collection. | |
Map view marker collections.
Implements share-read / share-write Api object over IMapViewMarkerCollections
|
inlinenoexcept |
Add collection.
| [in] | col | The markers collection to be added |
| [in] | settings | The markers collection render settings |
|
inlinenoexcept |
Check if the specified collection is in the collection.
| [in] | col | The markers collection to be searched |
|
inlinenoexcept |
Get collection at index.
| [in] | index | The collection index |
|
inlinenoexcept |
| [in] | index | The collection index |
|
inlinenoexcept |
Gets collection render settings.
| [in] | index | The collection index |
|
inlinenoexcept |
Hit test in all collections.
| [in] | area | The geographic area to be tested |
| ignore | The marker to be ignored |
|
inlinenoexcept |
Get the index of the given collection.
| [in] | col | The markers collection to be searched |
|
inlinenoexcept |
Get the index of the given collection name.
| [in] | name | The markers collection name to be searched |
|
inlinenoexcept |
Check if the given collection is a sketches collection.
| [in] | coll | The collection to be checked |
|
inlinenoexcept |
Iterate marker collections and call collector for each.
Collector should return true if iteration should continue and false if iteration should stop
| [in] | collector | The collector function |
|
inlinenoexcept |
Deserialize from buffer.
| [in] | buffer | The buffer to deserialize from |
|
inlinenoexcept |
Remove collection.
| [in] | col | The markers collection to be removed |
|
inlinenoexcept |
Remove collection.
| [in] | index | The collection index |
|
inlinenoexcept |
Serialize to buffer.
| [in] | buffer | The buffer to serialize to |
|
inlinenoexcept |
| [in] | index | The collection index |
| [in] | settings | The Marker collection render settings |
|
inlinenoexcept |
Sets collection render settings.
| [in] | index | The collection index |
| [in] | settings | The Marker collection render settings |
|
inlinenoexcept |
Get collection size.
|
inlinenoexcept |
Sketches collection access.
| [in] | type | The sketch type, see EMarkerType for values |
If type is invalid, an empty reference is returned