Location Component Plugin
Define the interfaces for the Location plugin.
Functions
Adds a listener that gets invoked when indicator accuracy radius changes.
Adds a listener that gets invoked when indicator bearing changes.
Adds a listener that gets invoked when indicator position changes.
Bind the ViewPlugin with current map context. This will create a View that will be added to the MapView.
Get the current LocationProvider under usage with the LocationComponentPlugin.
Get current locationcomponent configuration.
Called when the plugin is first added to the map.
Check whether the rendered location puck is on the given point.
Provides all map delegate instances.
Called when a new Style is loaded.
Removes a listener that gets invoked when indicator accuracy radius changes.
Removes a listener that gets invoked when indicator bearing changes.
Removes a listener that gets invoked when indicator position changes.
Set the LocationProvider, it will replace the default location provider provided by the LocationComponentPlugin.
Update locationcomponent configuration, the update will be applied to the plugin automatically.
Properties
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. Default value: 10.
Extensions
Create a AnimatableModel with the model uri and ModelPart that can be used with the location component.