OverlayMutableCollection class Maps & 3D Scenes

Mutable overlay collection with modification operations.

Extends OverlayCollection with methods that add or remove overlays or categories.

Instances are typically returned by higher-level services such as AlarmService. Do not instantiate directly.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
hasRegisteredAutoReleaseObject bool
getter/setter pairinherited
overlayInfos List<OverlayInfo>
The complete list of OverlayInfo entities available in this collection.
no setterinherited
pointerId int
The pointer ID of the native object
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
The number of overlays contained in this collection.
no setterinherited

Methods

add(int overlayId) → void
Add an overlay dataset to the collection.
addCategory({required int overlayId, required int categoryId}) → void
Add a single category (by id) from an online overlay to the collection.
clear() → void
Remove all overlays from the collection.
contains(int overlayId) bool
Check whether a given OverlayInfo UID is present in the collection.
inherited
containsCategory(int overlayId, int categoryId) bool
Check whether a specific OverlayCategory from an OverlayInfo is present in the collection.
inherited
dispose() → void
Disposes the native object.
inherited
getOverlayAt(int index) OverlayInfo?
Retrieve the overlay at the given index.
inherited
getOverlayByUId(int overlayUid) OverlayInfo?
Find an overlay by its UID.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerAutoReleaseObject(int pointerId) → void
Registers an object for auto release.
inherited
remove(int overlayId) GemError
Remove an overlay from the collection.
removeCategory({required int overlayId, required int categoryId}) GemError
Remove a category (by id) from an overlay in the collection.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited