This repository has been archived by the owner on May 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
Styler Plugin
Tobia edited this page Sep 2, 2013
·
6 revisions
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 the 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 user in your MapStore configuration:
{ "ptype": "gxp_styler", "actionTarget": "paneltbar", "sameOriginStyling": false, "index": 29 }
-
ptype
: ptype of the plugin -
actionTarget
: 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).