setJson

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 setJson(styleJson: String)