setStyleJSON

open fun setStyleJSON(@NonNull json: String)

Load the style from a provided JSON string.

Parameters

json

A JSON string containing a serialized style.