set Style JSON
Load the style from a provided JSON string.
Parameters
json
A JSON string containing a serialized style.
Load the style from a provided JSON string. The optional runtime styling callbacks will be invoked during style loading when the corresponding part of the style document is loaded and can be modified.
Parameters
json
A JSON string containing a serialized style.
styling Options
Runtime styling callbacks