Class Index | File Index

Classes


Class BaseLayer

Base class for layer.
Defined in: BaseLayer.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
BaseLayer(options)
Method Summary
Method Attributes Method Name and Description
 
opacity(arg)
Get/Set the opacity of the layer
 
visible(arg)
Get/Set the layer visible
Class Detail
BaseLayer(options)
Parameters:
options
Configuration properties for a BaseLayer:
  • name : the layer name
  • description : its description
  • attribution : its attribution
  • icon : an icon to represent the layer
  • visible : a boolean flag to set the layer visible, default is true
  • opacity : an oapcity value, default is 1.0
Method Detail
opacity(arg)
Get/Set the opacity of the layer
Parameters:
arg

visible(arg)
Get/Set the layer visible
Parameters:
arg

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Mar 21 2013 10:38:10 GMT+0100 (CET)