Edit Style
Description
Changes the attributes of a style.
Endpoint
/path/{pathId}/vector/style/{styleId}
Method
PATCH
Access Level Rules
Access Level
edit+
Processing Units
Processing units
2
Parameters
Name
Description
Required
Default
pathId
The id of the vector layer.
true
styleId
The id of the style to be edited.
true
name
The new name of the style.
false
Default null.
default
Boolean indicating whether the style should become the default or non-default style.
false
Default null.
parameters
Object containing the new parameters of the style.
false
Default null.
method
The new method of the style. Must be one of "rules", "transitionPoints", "random", "singleColor" or "fromColorProperty".
false
Default null.
Last updated