Styler Plugin - geosolutions-it/MapStore GitHub Wiki
The Styler plugin makes it possible to edit styles. This uses the REST config module of GeoServer so, the Styler plugin will only work with GeoServer (with REST module enabled).
In order to use the Styler in your MapStore instance read the instructions below.
-
Open the 'buildjs.cfg' file and check if the dependency below is present (inside the GXP block):
ColorManager.js plugins/Styler.js
-
Below a possible configuration of the Styler plugin to use in your MapStore configuration:
{ "ptype": "gxp_styler", "actionTarget": "paneltbar", "sameOriginStyling": false, "index": 29 }
ptype
: ptype of the pluginactionTarget
: the styler's tool location inside the MapStore GUI.sameOriginStyling
: Only allow editing of styles for layers whose sources have a URL that matches the origin of this applicaiton (default to true).