OpenLayers OpenLayers

Changeset 3764

Show
Ignore:
Timestamp:
07/16/07 13:57:48 (1 year ago)
Author:
tschaub
Message:

add nd comments and menu config for TileCache layer

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/apidoc_config/Menu.txt

    r3703 r3764  
    143143      File: MultiMap  (OpenLayers/Layer/MultiMap.js) 
    144144      File: Text  (OpenLayers/Layer/Text.js) 
     145      File: TileCache  (OpenLayers/Layer/TileCache.js) 
    145146      File: TMS  (OpenLayers/Layer/TMS.js) 
    146147      File: Vector  (no auto-title, OpenLayers/Layer/Vector.js) 
  • trunk/openlayers/doc_config/Menu.txt

    r3704 r3764  
    143143      File: MultiMap  (OpenLayers/Layer/MultiMap.js) 
    144144      File: Text  (OpenLayers/Layer/Text.js) 
     145      File: TileCache  (OpenLayers/Layer/TileCache.js) 
    145146      File: TMS  (OpenLayers/Layer/TMS.js) 
    146147      File: Vector  (no auto-title, OpenLayers/Layer/Vector.js) 
  • trunk/openlayers/lib/OpenLayers/Layer/TileCache.js

    r3763 r3764  
    88 * 
    99 * Class: OpenLayers.Layer.TileCache 
     10 * A read only TileCache layer.  Used to requests tiles cached by TileCache in 
     11 *     a web accessible cache.  Create a new instance with the 
     12 *     <OpenLayers.Layer.TileCache> constructor. 
    1013 * 
    1114 * Inherits from: 
     
    1821    /**  
    1922     * APIProperty: reproject 
    20      * {Boolean} 
     23     * {Boolean} Try to reproject this layer if it is used as an overlay. 
     24     *     Default is false. 
    2125     **/ 
    2226    reproject: false, 
     
    2428    /**  
    2529     * APIProperty: isBaseLayer 
    26      * {Boolean} 
     30     * {Boolean} Treat this layer as a base layer.  Default is true. 
    2731     **/ 
    2832    isBaseLayer: true, 
     
    3034    /** 
    3135     * APIProperty: tileOrigin 
    32      * {<OpenLayers.LonLat>}  
     36     * {<OpenLayers.LonLat>} Location of the tile lattice origin.  Default is 
     37     *     bottom left of the maxExtent. 
    3338     **/ 
    3439    tileOrigin: null, 
     
    3641    /**  
    3742     * APIProperty: format 
    38      * {String} 
     43     * {String} Mime type of the images returned.  Default is image/png. 
    3944     **/ 
    4045    format: 'image/png', 
     
    4247    /** 
    4348    * Constructor: OpenLayers.Layer.TileCache 
     49    * Create a new read only TileCache layer. 
    4450    * 
    4551    * Parameters: 
    46     * name - {String}  
    47     * url - {String}  
    48     * layername - {String}  
     52    * name - {String} Name of the layer displayed in the interface 
     53    * url - {String} Location of the web accessible cache 
     54    * layername - {String} Layer name as defined in the TileCache configuration 
    4955    * options - {Object} Hashtable of extra options to tag onto the layer 
    5056    */ 
     
    136142    /** 
    137143    * Method: addTile 
    138     * addTile creates a tile, initializes it, and  
    139     * adds it to the layer div.  
     144    * Create a tile, initialize it, and add it to the layer div.  
    140145    * 
    141146    * Parameters:  
     
    154159     * Method: setMap 
    155160     * When the layer is added to a map, then we can fetch our origin  
    156      *  (if we don't have one.)  
     161     *     (if we don't have one.)  
    157162     *  
    158163     * Parameters: