set Global State Property
Set a global state property on the style that is used by the snapshotter, used by the global-state expression.
Setting a null value (or com.google.gson.JsonNull) resets the property to the default defined in the style's root state property, or to null if there is none.
When the style is set by URL, call this from Observer.onDidFinishLoadingStyle.
Parameters
name
the name of the state property
value
the new value of the state property
Throws
if the style has not finished loading