OpenLayers OpenLayers

Changeset 1017

Show
Ignore:
Timestamp:
07/27/06 14:18:35 (2 years ago)
Author:
euzuro
Message:

Remove isBaseLayer() function and replace with 'isBaseLayer' property.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/euzuro/layerswitcher/lib/OpenLayers/Layer.js

    r993 r1017  
    2323    map: null, 
    2424     
    25  
     25    /** Whether or not the layer is a base layer. This should be set  
     26     *   individually by all subclasses.  
     27     *   Default is false 
     28     *  
     29     * @type Boolean 
     30     */ 
     31    isBaseLayer: false, 
     32  
    2633  // OPTIONS 
    2734 
     
    148155   
    149156    /** 
    150      * @returns Whether or not the layer is a base layer. This should be  
    151      *          determined individually by all subclasses. Default is false 
    152      * @type Boolean 
    153      */ 
    154     isBaseLayer: function() { 
    155         //this function should be implemented by all subclasses. 
    156         return false; 
    157     }, 
    158      
    159     /** 
    160157    * @returns Whether or not the layer is visible 
    161158    * @type Boolean