OverlayCollection class Maps & 3D Scenes
A read-only collection of available overlay datasets.
Instances are returned by OverlayService and provide methods to inspect the overlays available for the current map style (for example to populate UI lists). This class is not intended to be instantiated directly.
See also:
- OverlayService.getAvailableOverlays - Method to retrieve available overlays.
- OverlayInfo - Information about a single overlay dataset.
- Implementers
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 setter
- 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 setter
Methods
-
contains(
int overlayId) → bool - Check whether a given OverlayInfo UID is present in the collection.
-
containsCategory(
int overlayId, int categoryId) → bool - Check whether a specific OverlayCategory from an OverlayInfo is present in the collection.
-
dispose(
) → void -
Disposes the native object.
inherited
-
getOverlayAt(
int index) → OverlayInfo? - Retrieve the overlay at the given index.
-
getOverlayByUId(
int overlayUid) → OverlayInfo? - Find an overlay by its 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