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, PuckBearingSource? puckBearingSource, LocationPuck? locationPuck})

Properties

accuracyRingBorderColor int?
The color of the accuracy ring border. Works for 2D location puck only.
read / write
accuracyRingColor int?
The color of the accuracy ring. Works for 2D location puck only.
read / write
enabled bool?
Whether the user location is visible on the map.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
layerAbove String?
Sets the id of the layer that's added above to when placing the component on the map.
read / write
layerBelow String?
Sets the id of the layer that's added below to when placing the component on the map.
read / write
locationPuck LocationPuck?
Defines what the customised look of the location puck.
read / write
puckBearingEnabled bool?
Whether the puck rotates to track the bearing source.
read / write
puckBearingSource PuckBearingSource?
The enum controls how the puck is oriented
read / write
pulsingColor int?
The color of the pulsing circle. Works for 2D location puck only.
read / write
pulsingEnabled bool?
Whether the location puck is pulsing on the map. Works for 2D location puck only.
read / write
pulsingMaxRadius double?
The maximum radius of the pulsing circle. Works for 2D location puck only. This property is specified in pixels.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
showAccuracyRing bool?
Whether show accuracy ring with location puck. Works for 2D location puck only.
read / write

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.
inherited

Static Methods

decode(Object result) LocationComponentSettings