LocationComponentActivationOptions

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

Types

Link copied to clipboard
open class Builder
Builder class for constructing a new instance of LocationComponentActivationOptions.

Functions

Link copied to clipboard
Convenience method to retrieve a LocationComponentActivationOptions object which is ready to build with
Link copied to clipboard
open fun context(): Context
The application's current context
Link copied to clipboard
A built LocationComponentOptions object, which holds the various LocationComponent styling options
Link copied to clipboard
Link copied to clipboard
The location request which the LocationComponent should use
Link copied to clipboard
open fun style(): Style
The proxy object for current map style.
Link copied to clipboard
open fun styleRes(): Int
The LocationComponent style resource (e.g.
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
Link copied to clipboard
True if you want to initialize and use the specialized location layer to render the location puck.