LocationComponentActivationOptions

A class which holds the various options for activating the Maps SDK's LocationPluginImpl to eventually show the device location on the map.

Deprecated

Use LocationComponentPlugin instead.

open class LocationComponentActivationOptions

Types

Builder
Link copied to clipboard

Builder class for constructing a new instance of LocationComponentActivationOptions .

open class Builder

Functions

builder
Link copied to clipboard

Convenience method to retrieve a LocationComponentActivationOptions object which is ready to build with

open fun builder(context: Context, fullyLoadedMapMapStyleDelegate: StyleManagerInterface): LocationComponentActivationOptions.Builder
context
Link copied to clipboard

The application's current context

open fun context(): Context
locationComponentOptions
Link copied to clipboard

A built LocationComponentOptions object, which holds the various LocationPluginImpl styling options

open fun locationComponentOptions(): LocationComponentOptions
locationEngine
Link copied to clipboard

The LocationEngine which the LocationPluginImpl should use

open fun locationEngine(): LocationEngine
locationEngineRequest
Link copied to clipboard

The location request which the LocationPluginImpl should use

open fun locationEngineRequest(): LocationEngineRequest
style
Link copied to clipboard

The proxy object for current map style. More info at StyleManagerInterface

open fun style(): StyleManagerInterface
styleRes
Link copied to clipboard

The LocationComponent style resource (e.g. R.style.style_name)

open fun styleRes(): Int
useDefaultLocationEngine
Link copied to clipboard

True if you want to initialize and use the built-in location engine or false if there should be no location engine initialized

open fun useDefaultLocationEngine(): Boolean

Properties

locationModelLayerOptions
Link copied to clipboard
private val locationModelLayerOptions: LocationModelLayerOptions