gxp.WMSLayerPanel¶
-
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 NumberA string id or the numeric index of the tab that should be initially activated on render. Defaults to0.
-
border BooleanDisplay a border around the panel. Defaults tofalse.
-
imageFormats RegExRegular 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.LayerRecordShow properties for this layer record.
-
rasterStyling BooleanIf set to true, single-band raster styling will be supported. Default isfalse.
-
sameOriginStyling BooleanOnly 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 istrue.
-
source gxp.plugins.LayerSourceSource for the layer. Optional. If not provided,sameOriginStylingwill be ignored.
-
styling BooleanShow a “Styles” tab. Default is true.
Events¶
Events in addition to those listed for Ext.TabPanel.
-
change Fires when the
layerRecordis changed using this dialog.