DefaultLocationPuck2D class

Default 2D location indicator appearance.

Inheritance

Constructors

DefaultLocationPuck2D({Uint8List? topImage, Uint8List? bearingImage, Uint8List? shadowImage, String? scaleExpression, double? opacity})
Creates an instance of the default 2D location indicator, allowing to customize apects of it(topImage, bearingImage, opacity etc.).

Properties

bearingImage ↔ Uint8List?
Name of image in sprite to use as the middle of the location indicator.
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
opacity ↔ double?
The opacity of the entire location puck Default value: 1. Value range: 0, 1
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scaleExpression ↔ String?
The scale expression of the images. If defined, it will be applied to all the three images.
getter/setter pairinherited
shadowImage ↔ Uint8List?
Name of image in sprite to use as the background of the location indicator.
getter/setter pairinherited
topImage ↔ Uint8List?
Name of image in sprite to use as the top of the location indicator.
getter/setter pairinherited

Methods

encode() → Object
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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