setStyleURI

open fun setStyleURI(@NonNull uri: String)

Load style from provided URI. This is an asynchronous call. To check the result of this operation the user must register an observer observing `MapLoaded` or `MapLoadingError` events. In case of successful style load, `StyleLoaded` event will be also emitted.

Parameters

uri

URI where the style should be loaded from.