OverlayCollection class Maps & 3D Scene
Overlays collection.
This class should not be instantiated directly. Instead, use the related methods from OverlayService.
Represents a collection of available overlay datasets and lets callers inspect and iterate the available overlays. Common operations include querying the number of overlays, retrieving an overlay by position or by its stable identifier, checking whether a given overlay or overlay category is present in the collection, and obtaining the full list of overlay info objects for building UI lists or sync logic.
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
overlayInfos
→ List<
OverlayInfo> -
Provides the complete OverlayInfo list contained within the collection
no setter
- pointerId → int
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
Get the number of overlay datasets in this collection.
no setter
Methods
-
contains(
int overlayId) → bool - Check if an overlay is in the collection.
-
containsCategory(
int overlayId, int categoryId) → bool - Check if overlay is added to the collection.
-
getOverlayAt(
int index) → OverlayInfo? - Get the overlay at the specified index.
-
getOverlayByUId(
int overlayUid) → OverlayInfo? - Get the overlay having the specified UID.
-
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited