LaneImg class Maps & 3D Scenes
Vector lane guidance image for navigation instructions.
SDK-generated vector image showing lane guidance arrows and markings for turn-by-turn navigation. Supports lossless scaling to any size (isScalable returns true). Cannot be instantiated by users - only provided by the SDK through navigation NavigationInstruction.laneImg and
Customize appearance using LaneImageRenderSettings to control colors for
active/inactive lanes and background. Set allowResize to true to let the SDK
choose optimal aspect ratio based on requested height.
See also:
- LaneImageRenderSettings - Customize lane colors and background
- NavigationInstruction - Provides lane guidance images
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasRegisteredAutoReleaseObject ↔ bool
-
getter/setter pairinherited
- imageType → ImageType
-
Category of this image indicating its source and purpose.
no setterinherited
- isScalable → bool
-
Whether the image uses a vector format and supports lossless scaling.
no setteroverride
- isValid → bool
-
Whether the SDK has valid image data available.
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
- uid → int
-
Unique identifier for this image instance.
no setterinherited
Methods
-
dispose(
) → void -
Disposes the native object.
inherited
-
getRenderableImage(
{Size? size, ImageFileFormat format = ImageFileFormat.png, LaneImageRenderSettings? renderSettings, bool allowResize = false}) → RenderableImg? -
Retrieves image with bytes and actual rendered dimensions.
override
-
getRenderableImageBytes(
{Size? size, ImageFileFormat format = ImageFileFormat.png, LaneImageRenderSettings? renderSettings, bool allowResize = false}) → Uint8List? -
Retrieves image bytes suitable for display with Image.memory.
override
-
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