applyStyle

Apply a new component style with a style resource.

Parameters

styleRes

a XML style overriding some or all the options

fun applyStyle(context: Context, @StyleRes() styleRes: Int)

Apply a new component style with location component options.

Parameters

options

to update the current style

fun applyStyle(options: LocationComponentOptions)