setStyleURI

Load style from provided URI.

This is an asynchronous call. In order to get result of this operation please use OnStyleLoadedListener, OnStyleDataLoadedListener or OnMapLoadErrorListener. In case of successful style load you should get notified by OnStyleLoadedListener.

And in case of error @see MapLoadError#StyleLoadError will be generated.

\attention This method should be called on the same thread where @see Map object is initialized.

Parameters

uri

URI where the style should be loaded from.

open override fun setStyleURI(uri: String)