setStyleJson

Load the style from a provided JSON string.

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

Parameters

styleJson

A JSON string containing a serialized Mapbox Style.

fun setStyleJson(styleJson: String)