LocationComponentSettingsInterface

Interface that defines the public settings interface for LocationComponentPlugin.

Functions

Link copied to clipboard

Get current locationcomponent configuration.

Link copied to clipboard

Update locationcomponent configuration, the update will be applied to the plugin automatically.

Properties

Link copied to clipboard

The color of the accuracy ring border. Works for 2D location puck only.

Link copied to clipboard
abstract var accuracyRingColor: Int

The color of the accuracy ring. Works for 2D location puck only.

Link copied to clipboard
abstract var enabled: Boolean

Whether the user location is visible on the map.

Link copied to clipboard
abstract var layerAbove: String?

Sets the id of the layer that's added above to when placing the component on the map.

Link copied to clipboard
abstract var layerBelow: String?

Sets the id of the layer that's added below to when placing the component on the map.

Link copied to clipboard

Defines what the customised look of the location puck. Note that direct changes to the puck variables won't have any effect, a new puck needs to be set every time.

Link copied to clipboard
abstract var puckBearing: PuckBearing

The enum controls how the puck is oriented

Link copied to clipboard

Whether the puck rotates to track the bearing source.

Link copied to clipboard
abstract var pulsingColor: Int

The color of the pulsing circle. Works for 2D location puck only.

Link copied to clipboard
abstract var pulsingEnabled: Boolean

Whether the location puck is pulsing on the map. Works for 2D location puck only.

Link copied to clipboard
abstract var pulsingMaxRadius: Float

The maximum radius of the pulsing circle. Works for 2D location puck only. Note: Setting pulsingMaxRadius to LocationComponentConstants.PULSING_MAX_RADIUS_FOLLOW_ACCURACY will set the pulsing circle's maximum radius to follow location accuracy circle.

Link copied to clipboard

Whether show accuracy ring with location puck. Works for 2D location puck only.

Inheritors

Link copied to clipboard
Link copied to clipboard