StyleController
interface 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
Hide hill shading layer.
Link 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.
Link copied to clipboard
Shows hill shading layer in the current style.
Properties
Inheritors
Extensions
Link copied to clipboard
fun StyleController.loadStyle(style: StyleDescriptor, onSuccess: () -> Unit, onFailure: (LoadingStyleFailure) -> Unit): Cancellable