Legato.Control.DefaultBaseLayer

ValueProvider which gives you the possibility to be notified about every change of the current BBox Selection.  The notification could be a JS Callback or a Object where its property will be overwritten each time the watched value changes.

Inherits from:Legato.Control
Summary
Legato.Control.DefaultBaseLayerValueProvider which gives you the possibility to be notified about every change of the current BBox Selection.
Functions
initializeBasic ctor
destroy<OpenLayer.Control>
setMap<OpenLayer.Control>
draw<OpenLayer.Control>
Properties
QNameThe qualified name for this control.
layerThe default layer which should been used if none is present

Functions

initialize

initialize : function(options)

Basic ctor

Parameters

options{Object} A Hashmap containing option parameters for this control The following keys are supported
  • observer {Object} A hashmap containing an observer

The following keys are supported for an observer element

  • target {object} an object which wants to observe,
  • property{function|String} the propety or function which should be used for providing the observed value
  • bBoxProperty {String} any Property name of an <OpenLayers.Bounds> instance
  • write {Boolean} true = value changes of observer will be given back to current map, false otherwise

destroy

destroy : function()

See Also

<OpenLayer.Control>

setMap

setMap : function(map)

See Also

<OpenLayer.Control>

draw

draw : function()

See Also

<OpenLayer.Control>

Properties

QName

The qualified name for this control.  Needed by XML config to instantiate it.

layer

The default layer which should been used if none is present

initialize : function(options)
Basic ctor
destroy : function()
OpenLayer.Control
setMap : function(map)
OpenLayer.Control
draw : function()
OpenLayer.Control
Abstract base class for all Legato control classes