Create a dialog for selecting and layer styles. If the WMS supports GetStyles, styles can also be edited. The dialog does not provide any means of writing modified styles back to the server. To save styles, configure the dialog with a gxp.plugins.StyleWriter plugin and call the saveStyles method.
Note: when this component is included in a build, OpenLayers.Renderer.defaultSymbolizer will be set to the SLD defaults. In addition, the OpenLayers SLD v1 parser will be patched to support vendor specific extensions added to SLD by GeoTools.
Configuration properties in addition to those listed for Ext.Container.
Public properties in addition to those listed for Ext.Container.
Public methods in addition to those listed for Ext.Container.
Available options: * updateCombo - Boolean set to true to update the combo box * markModified - Boolean set to true to mark the dialog modified
Handler for the stylesCombo’s select and the store’s update event. Updates the layer and the rules fieldset.
|Parameter:||options – Object|
|Returns:||String The current SLD for the NamedLayer.|
|Parameter:||prevStyle – Ext.data.Record|
Edit the currently selected style.
Events in addition to those listed for Ext.Container.
Fires before the styles are saved (using a gxp.plugins.StyleWriter plugin)
Fires on every style modification.
Fires when a style was successfully saved. Applications should listen for this event and redraw layers with the currently selected style.
Fires whenever an existing style is selected from this dialog’s Style combo box.