LocationComponentSettings class

Shows a location puck on the map.

Constructors

LocationComponentSettings({bool? enabled, bool? pulsingEnabled, int? pulsingColor, double? pulsingMaxRadius, bool? showAccuracyRing, int? accuracyRingColor, int? accuracyRingBorderColor, String? layerAbove, String? layerBelow, bool? puckBearingEnabled, PuckBearing? puckBearing, String? slot, LocationPuck? locationPuck})

Properties

accuracyRingBorderColor ↔ int?
The color of the accuracy ring border. Works for 2D location puck only.
getter/setter pair
accuracyRingColor ↔ int?
The color of the accuracy ring. Works for 2D location puck only.
getter/setter pair
enabled ↔ bool?
Whether the user location is visible on the map.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
layerAbove ↔ String?
Sets the id of the layer that's added above to when placing the component on the map.
getter/setter pair
layerBelow ↔ String?
Sets the id of the layer that's added below to when placing the component on the map.
getter/setter pair
locationPuck ↔ LocationPuck?
Defines what the customised look of the location puck.
getter/setter pair
puckBearing ↔ PuckBearing?
The enum controls how the puck is oriented.
getter/setter pair
puckBearingEnabled ↔ bool?
Whether the puck rotates to track the bearing source.
getter/setter pair
pulsingColor ↔ int?
The color of the pulsing circle. Works for 2D location puck only.
getter/setter pair
pulsingEnabled ↔ bool?
Whether the location puck is pulsing on the map. Works for 2D location puck only.
getter/setter pair
pulsingMaxRadius ↔ double?
The maximum radius of the pulsing circle. Works for 2D location puck only.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showAccuracyRing ↔ bool?
Whether show accuracy ring with location puck. Works for 2D location puck only.
getter/setter pair
slot ↔ String?
The slot this layer is assigned to.
getter/setter pair

Methods

encode() → Object
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.
override

Static Methods

decode(Object result) → LocationComponentSettings