OpenLayers OpenLayers

Changeset 3629

Show
Ignore:
Timestamp:
07/06/07 16:27:08 (1 year ago)
Author:
euzuro
Message:

patch for #777 - adding documentation and stub for getWarningHTML

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/Layer/EventPane.js

    r3587 r3629  
    111111     * Method: loadWarningMessage 
    112112     * If we can't load the map lib, then display an error message to the  
    113      * user and tell them where to go for help. 
     113     *     user and tell them where to go for help. 
     114     *  
     115     *     This function sets up the layout for the warning message. Each 3rd 
     116     *     party layer must implement its own getWarningHTML() function to  
     117     *     provide the actual warning message. 
    114118     */ 
    115119    loadWarningMessage:function() { 
     
    142146    }, 
    143147   
     148    /**  
     149     * Method: getWarningHTML 
     150     * To be implemented by subclasses. 
     151     *  
     152     * Return: 
     153     * {String} String with information on why layer is broken, how to get 
     154     *          it working. 
     155     */ 
     156    getWarningHTML:function() { 
     157        //should be implemented by subclasses 
     158        return ""; 
     159    }, 
    144160   
    145161    /**