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.
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 setterinherited
- 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
- puckBearingEnabled ↔ bool?
-
Whether the puck rotates to track the bearing source.
getter/setter pair
- puckBearingSource ↔ PuckBearingSource?
-
The enum controls how the puck is oriented
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. This property is specified in pixels.
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
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