gxp.WMSLayerPanel

Extends
class gxp.WMSLayerPanel(config)

Create a dialog for setting WMS layer properties like title, abstract, opacity, transparency and image format.

Config Options

Configuration properties in addition to those listed for Ext.TabPanel.

activeTab

String or Number A string id or the numeric index of the tab that should be initially activated on render. Defaults to 0.

border

Boolean Display a border around the panel. Defaults to false.

imageFormats

RegEx Regular expression used to test browser friendly formats for GetMap requests. The formats displayed will those from the record that match this expression. Default is /png|gif|jpe?g/i.

layerRecord

GeoExt.data.LayerRecord Show properties for this layer record.

rasterStyling

Boolean If set to true, single-band raster styling will be supported. Default is false.

sameOriginStyling

Boolean Only allow editing of styles for layers whose sources have a URL that matches the origin of this application. It is strongly discouraged to do styling through the proxy as all authorization headers and cookies are shared with all remotesources. Default is true.

source

gxp.plugins.LayerSource Source for the layer. Optional. If not provided, sameOriginStyling will be ignored.

styling

Boolean Show a “Styles” tab. Default is true.

Events

Events in addition to those listed for Ext.TabPanel.

change

Fires when the layerRecord is changed using this dialog.