loadStyle
abstract fun loadStyle(style: StyleDescriptor, callback: OnStyleLoadedCallback): Cancellable
Content copied to clipboard
Loads new map style. Provided callback is called once operation finishes with either success or failure.
Return
Cancellable which can be used to cancel the operation.
See also
if sdk standard style should be loaded.
Parameters
style
StyleDescriptor of the new map style.
callback
OnStyleLoadedCallback invoked when the style change finishes with success or with an error.