OpenLayers OpenLayers

Changeset 3577

Show
Ignore:
Timestamp:
07/03/07 19:13:16 (1 year ago)
Author:
euzuro
Message:

update nd docs

Files:

Legend:

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

    r3553 r3577  
    88 *  
    99 * Class: OpenLayers.Layer.Markers 
     10 *  
    1011 * Inherits from: 
    1112 *  - <OpenLayers.Layer>  
     
    1617     
    1718    /**  
    18      * Property: isBaseLayer  
     19     * APIProperty: isBaseLayer  
    1920     * {Boolean} Markers layer is never a base layer.   
    2021     */ 
     
    3839     
    3940    /** 
    40     * Constructor: OpenLayers.Layer.Markers  
    41     * Create a Markers layer. 
    42    
    43     * Parameters: 
    44     * name - {String}  
    45     * options - {Object} Hashtable of extra options to tag onto the layer 
    46     */ 
     41    * Constructor: OpenLayers.Layer.Markers  
     42    * Create a Markers layer. 
     43   
     44    * Parameters: 
     45    * name - {String}  
     46    * options - {Object} Hashtable of extra options to tag onto the layer 
     47    */ 
    4748    initialize: function(name, options) { 
    4849        OpenLayers.Layer.prototype.initialize.apply(this, arguments); 
     
    5152     
    5253    /** 
    53      * Method: destroy  
     54     * APIMethod: destroy  
    5455     */ 
    5556    destroy: function() { 
     
    7879 
    7980    /** 
    80      * Method: addMarker 
     81     * APIMethod: addMarker 
    8182     * 
    8283     * Parameters: 
     
    9293 
    9394    /** 
    94      * Method: removeMarker 
     95     * APIMethod: removeMarker 
    9596     * 
    9697     * Parameters: 
     
    117118 
    118119    /** 
    119     * Method: redraw 
    120     * clear all the marker div's from the layer and then redraw all of them. 
    121     *    Use the map to recalculate new placement of markers. 
    122     */ 
     120    * APIMethod: redraw 
     121    * Clear all the marker div's from the layer and then redraw all of them. 
     122    *    Use the map to recalculate new placement of markers. 
     123    */ 
    123124    redraw: function() { 
    124125        for(i=0; i < this.markers.length; i++) { 
     
    128129 
    129130    /**  
    130     * Method: drawMarker 
    131     * *Private*. Calculate the pixel location for the marker, create it, and  
    132     *    add it to the layer's div 
    133    
    134     * Parameters: 
    135     * marker - {<OpenLayers.Marker>}  
    136     */ 
     131    * Method: drawMarker 
     132    * Calculate the pixel location for the marker, create it, and  
     133    *    add it to the layer's div 
     134   
     135    * Parameters: 
     136    * marker - {<OpenLayers.Marker>}  
     137    */ 
    137138    drawMarker: function(marker) { 
    138139        var px = this.map.getLayerPxFromLonLat(marker.lonlat);