update nd docs
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3577 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
* @requires Openlayers/Layer.js
|
* @requires Openlayers/Layer.js
|
||||||
*
|
*
|
||||||
* Class: OpenLayers.Layer.Markers
|
* Class: OpenLayers.Layer.Markers
|
||||||
|
*
|
||||||
* Inherits from:
|
* Inherits from:
|
||||||
* - <OpenLayers.Layer>
|
* - <OpenLayers.Layer>
|
||||||
*/
|
*/
|
||||||
@@ -15,7 +16,7 @@ OpenLayers.Layer.Markers.prototype =
|
|||||||
OpenLayers.Class.inherit( OpenLayers.Layer, {
|
OpenLayers.Class.inherit( OpenLayers.Layer, {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Property: isBaseLayer
|
* APIProperty: isBaseLayer
|
||||||
* {Boolean} Markers layer is never a base layer.
|
* {Boolean} Markers layer is never a base layer.
|
||||||
*/
|
*/
|
||||||
isBaseLayer: false,
|
isBaseLayer: false,
|
||||||
@@ -50,7 +51,7 @@ OpenLayers.Layer.Markers.prototype =
|
|||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method: destroy
|
* APIMethod: destroy
|
||||||
*/
|
*/
|
||||||
destroy: function() {
|
destroy: function() {
|
||||||
this.clearMarkers();
|
this.clearMarkers();
|
||||||
@@ -77,7 +78,7 @@ OpenLayers.Layer.Markers.prototype =
|
|||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method: addMarker
|
* APIMethod: addMarker
|
||||||
*
|
*
|
||||||
* Parameters:
|
* Parameters:
|
||||||
* marker - {<OpenLayers.Marker>}
|
* marker - {<OpenLayers.Marker>}
|
||||||
@@ -91,7 +92,7 @@ OpenLayers.Layer.Markers.prototype =
|
|||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method: removeMarker
|
* APIMethod: removeMarker
|
||||||
*
|
*
|
||||||
* Parameters:
|
* Parameters:
|
||||||
* marker - {<OpenLayers.Marker>}
|
* marker - {<OpenLayers.Marker>}
|
||||||
@@ -116,8 +117,8 @@ OpenLayers.Layer.Markers.prototype =
|
|||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method: redraw
|
* APIMethod: redraw
|
||||||
* clear all the marker div's from the layer and then redraw all of them.
|
* Clear all the marker div's from the layer and then redraw all of them.
|
||||||
* Use the map to recalculate new placement of markers.
|
* Use the map to recalculate new placement of markers.
|
||||||
*/
|
*/
|
||||||
redraw: function() {
|
redraw: function() {
|
||||||
@@ -128,7 +129,7 @@ OpenLayers.Layer.Markers.prototype =
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Method: drawMarker
|
* Method: drawMarker
|
||||||
* *Private*. Calculate the pixel location for the marker, create it, and
|
* Calculate the pixel location for the marker, create it, and
|
||||||
* add it to the layer's div
|
* add it to the layer's div
|
||||||
*
|
*
|
||||||
* Parameters:
|
* Parameters:
|
||||||
|
|||||||
Reference in New Issue
Block a user