OpenLayers. | |
Properties | |
dispolayers | {Array} Array of layers to be made accessible |
externalservers | {Array} Array of external servers |
map | {OpenLayers.Map} The map object to be called |
mapfishlayertree | {mapfish.widgets.LayerTree} The mapfishlayertree to update (if set) |
service | {String} The service attached to the widget |
resource | {String} The resource attached to the widget |
formwindow | {Ext.Window} Saves the generated window so it ca be reused |
type | {String} The type of <OpenLayers.Control> -- When added to a <Control.Panel>, ‘type’ is used by the panel to determine how to handle our events. |
Functions | |
addLayer | Add a new layer to openlayers and mapfishlayertree. |
addServer | Adds the server to the user’s list |
connectServer | Connects to the supplied server |
getLayers | Get the good layers and add the layers. |
loadCapabilities | Load the personal servers and other layers of the current user |
loadCapabilitiesServers | Insert the capabilities in the server list |
loadCapabilitiesWorkspace | Insert the layers in the list |
parseCapabilities | Parse the returned GetCapabilities XML |
removeServer | Remove selected server from the list |
trigger | Open the window. |
Adds the server to the user’s list
addServer : function( btn, text )
Connects to the supplied server
connectServer: function()
Get the good layers and add the layers.
getLayers: function( names )
Load the personal servers and other layers of the current user
loadCapabilities : function()
Insert the capabilities in the server list
loadCapabilitiesServers : function( request )
Insert the layers in the list
loadCapabilitiesWorkspace : function( request )
Parse the returned GetCapabilities XML
parseCapabilities : function( request )
Remove selected server from the list
removeServer : function( id )
Open the window.
trigger: function()