ShowUserStylesRequest
Requests a user own styles to be shown for specific layer.
Description
Opens flyout which shows user's styles for requested layer. If layer doesn't have any user defined style, then form is opened to add new style.
Parameters
(* means the parameter is required)
Name | Type | Description | Default value |
---|---|---|---|
\* layerId | String | Identifier for requested layer. | |
showStyle | Boolean | Indicates that visualization form should be opened to create or edit style. | false |
styleName | String | Identifier for requested style. If not given then new style is created. |
Example
Oskari.getSandbox().postRequestByName('ShowUserStylesRequest', [1]);