setStyleJSON

open fun setStyleJSON(json: String)

Load the style from a provided JSON string.

Parameters

json

A JSON string containing a serialized style.