loadStyle

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.

Parameters

style

StyleDescriptor of the new map style.

callback

StyleLoadingCallback invoked when the style change finishes with success or with an error.

See also

if sdk standard style should be loaded.