setStyleJSON

open override fun setStyleJSON(json: String)

Load the style from a provided JSON string.

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

Parameters

json

A JSON string containing a serialized Mapbox Style.