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

json

A JSON string containing a serialized Mapbox Style.

fun setJson(styleJson: String)