OverlayItem class Maps & 3D Scene
Class representing an overlay item.
This class should not be instantiated directly.
Constructors
- OverlayItem.init(int id)
Properties
- categoryId → int
-
Get OverlayItem category id.
no setter
- coordinates → Coordinates
-
Get the OverlayItem coordinates
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasPreviewExtendedData → bool
-
Check if this type of OverlayItem has preview EXTENDED data (dynamic data that needs to be downloaded)
no setter
- image → Uint8List
-
Get the image of the item
no setter
- img → Img
-
Get the item image
no setter
- name → String
-
Get the name of the item.
no setter
- overlayInfo → OverlayInfo
-
Get the parent overlay info.
no setter
- overlayUid → int
-
Get the parent overlay UID.
no setter
- pointerId → int
-
no setter
- previewData → SearchableParameterList
-
Get OverlayItem preview data as parameters list.
no setter
- previewDataJson → Map
-
Get OverlayItem preview data as JSON.
no setter
- previewUrl → String
-
Get the preview URL for the item (if any).
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uid → int
-
Get the unique ID of the item within the overlay.
no setter
Methods
-
cancelGetPreviewExtendedData(
ProgressListener listener) → void - Cancel an asynchronous getPreviewExtendedData operation.
-
getPreviewExtendedData(
void onComplete(GemError error, SearchableParameterList? parameters)) → ProgressListener - Asynchronous get OverlayItem preview EXTENDED data (dynamic data that needs to be downloaded) as parameters list.
-
getPTStopInfo(
) → Future< PTStopInfo?> - Get the PTStopInfo object for this item.
-
isOfType(
CommonOverlayId overlayId) → bool - Check if the overlay is of the given type.
-
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