GeoMOOSE.MapSource.WMS

Provides a WMS MapSource to GeoMOOSE.

Inherits from

Summary
GeoMOOSE.MapSource.WMSProvides a WMS MapSource to GeoMOOSE.
Functions
_createOLLayer(options)Internal method to create the OpenLayers Layer object.
constructorCreates a new WMS MapSource
onLayersChangeWhen the Layers List changes, update the params, and refresh the layer.
getLayerParams
printReturn the print representation of this layer.

Functions

_createOLLayer(options)

_createOLLayer: function(options)

Internal method to create the OpenLayers Layer object.  This is divorced from the constructor so it can be overriden without hitting an inheritance chain.

Parameters

optionsOpenLayers Layer Options hash.

constructor

constructor: function(mapbook_entry)

Creates a new WMS MapSource

Parameters

mapbook_entryXML fragment defining the MapSource

onLayersChange

onLayersChange: function(path,
visibility)

When the Layers List changes, update the params, and refresh the layer.

getLayerParams

getLayerParams: function(all_params)

Parameters

all_paramsGet all the parameters from the WMS, instead of just the internal ones.

print

printable: true, /* this can be printed */ print: function()

Return the print representation of this layer.

_createOLLayer: function(options)
Internal method to create the OpenLayers Layer object.
constructor: function(mapbook_entry)
Creates a new WMS MapSource
onLayersChange: function(path,
visibility)
When the Layers List changes, update the params, and refresh the layer.
getLayerParams: function(all_params)
printable: true, /* this can be printed */ print: function()
Return the print representation of this layer.
GeoMOOSE base layer.
Close