StyleController
Controls the process of loading and applying a custom map style.
Important: This is a Public Preview API. It may be changed or removed at any time.
Functions
Link copied to clipboard
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.
Link copied to clipboard
Configures style mode. See StyleMode for more info.
Properties
Inheritors
Extensions
Link copied to clipboard
fun StyleController.loadStyle( style: StyleDescriptor, onSuccess: () -> Unit, onFailure: (LoadingStyleFailure) -> Unit): Cancellable
Content copied to clipboard