Builder

open class Builder

Builder class for constructing a new instance of LocationComponentOptions.

Functions

Link copied to clipboard
Set the opacity of the accuracy view to a value from 0 to 1, where 0 means the accuracy view is completely transparent and 1 means the view is completely opaque.
Link copied to clipboard
Enable or disable smooth animation of the accuracy circle around the user's position.
Link copied to clipboard
Solid color to use as the accuracy view color property.
Link copied to clipboard
Defines the drawable used for the background state icon.
Link copied to clipboard
Defines the drawable used for the stale background icon.
Link copied to clipboard
Given a String image name, identical to one used in the first parameter of addImage, the component, will used this image in place of the provided or default maplibre_backgroundDrawable.
Link copied to clipboard
Given a String image name, identical to one used in the first parameter of addImage, the component, will used this image in place of the provided or default maplibre_backgroundDrawableStale.
Link copied to clipboard
Defines the background stale color as an integer.
Link copied to clipboard
Defines the background color as an integer.
Link copied to clipboard
Defines the drawable used for the bearing icon.
Link copied to clipboard
Given a String image name, identical to one used in the first parameter of addImage, the component, will used this image in place of the provided or default maplibre_bearingDrawable.
Link copied to clipboard
Defines the bearing icon color as an integer.
Link copied to clipboard
Build a new instance of this LocationComponentOptions class.
Link copied to clipboard
Link copied to clipboard
Sets the base elevation of this view, in pixels.
Link copied to clipboard
Enable or disable to stale state mode.
Link copied to clipboard
Supply a Drawable that is to be rendered on top of all of the content in the Location Component layer stack.
Link copied to clipboard
Defines the drawable used for the stale foreground icon.
Link copied to clipboard
Given a String image name, identical to one used in the first parameter of addImage, the component, will used this image in place of the provided or default maplibre_foregroundDrawable.
Link copied to clipboard
Given a String image name, identical to one used in the first parameter of addImage, the component, will used this image in place of the provided or default maplibre_foregroundDrawableStale.
Link copied to clipboard
Defines the foreground stale color as an integer.
Link copied to clipboard
Defines the foreground color as an integer.
Link copied to clipboard
Defines the drawable used for the navigation state icon.
Link copied to clipboard
Given a String image name, identical to one used in the first parameter of addImage, the component, will used this image in place of the provided or default maplibre_gpsDrawable.
Link copied to clipboard
Sets the id of the layer that's referenced when placing the component on the map using addLayerAbove.
Link copied to clipboard
Sets the id of the layer that's referenced when placing the component on the map using addLayerBelow.
Link copied to clipboard
Sets the scale factor of the location icon when the map is zoomed in.
Link copied to clipboard
Sets the scale factor of the location icon when the map is zoomed out.
Link copied to clipboard
Sets the distance from the edges of the map view’s frame to the edges of the map view’s logical viewport.
Link copied to clipboard
Sets the opacity of the LocationComponent's pulsing circle.
Link copied to clipboard
Sets the color of the LocationComponent's pulsing circle.
Link copied to clipboard
Enable or disable the LocationComponent's pulsing circle.
Link copied to clipboard
Enable or disable fading of the LocationComponent's pulsing circle.
Link copied to clipboard
Sets the pulsing circle's interpolator animation.
Link copied to clipboard
The maximum radius that a single pulse should expand the LocationComponent's pulsing circle to.
Link copied to clipboard
Sets the number of milliseconds it takes for a single pulse of the LocationComponent's pulsing circle.
Link copied to clipboard
Set the timeout before the location icon becomes stale.
Link copied to clipboard
Sets the tracking animation duration multiplier.
Link copied to clipboard
Set whether gesture threshold should be adjusted when camera is in one of the tracking modes.
Link copied to clipboard
Sets minimum single pointer movement (map pan) in pixels required to break camera tracking.
Link copied to clipboard
Sets minimum multi pointer movement (map pan) in pixels required to break camera tracking (for example during scale gesture).
Link copied to clipboard
Sets protected multi pointer gesture area.