ND Update: make array's say what they're made of, and a few other small bits, like mistyped and a couple missing <>s

git-svn-id: http://svn.openlayers.org/trunk/openlayers@3829 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2007-07-31 20:02:03 +00:00
parent 35834487a4
commit cf5a53959e
19 changed files with 40 additions and 40 deletions

View File

@@ -30,11 +30,10 @@ OpenLayers.Handler.Feature = OpenLayers.Class(OpenLayers.Handler, {
*
* Parameters:
* control - {<OpenLayers.Control>}
* layers - {Array} List of OpenLayers.Layer.Vector
* callbacks - {Array} An object with a 'over' property whos value is
* a function to be called when the mouse is over
* a feature. The callback should expect to recieve
* a single argument, the feature.
* layers - {Array(<OpenLayers.Layer.Vector>)}
* callbacks - {Object} An object with a 'over' property whos value is
* a function to be called when the mouse is over a feature. The
* callback should expect to recieve a single argument, the feature.
* options - {Object}
*/
initialize: function(control, layer, callbacks, options) {

View File

@@ -47,14 +47,14 @@ OpenLayers.Handler.Path = OpenLayers.Class(OpenLayers.Handler.Point, {
*
* Parameters:
* control - {<OpenLayers.Control>}
* callbacks - {Array} An object with a 'done' property whos value is a
* function to be called when the path drawing is finished. The callback
* should expect to recieve a single argument, the line string geometry.
* If the callbacks object contains a 'point' property, this function will
* be sent each point as they are added. If the callbacks object contains
* a 'cancel' property, this function will be called when the handler is
* deactivated while drawing. The cancel should expect to receive a
* geometry.
* callbacks - {Object} An object with a 'done' property whos value is a
* function to be called when the path drawing is finished. The
* callback should expect to recieve a single argument, the line
* string geometry. If the callbacks object contains a 'point'
* property, this function will be sent each point as they are added.
* If the callbacks object contains a 'cancel' property, this function
* will be called when the handler is deactivated while drawing. The
* cancel should expect to receive a geometry.
* options - {Object} An optional object with properties to be set on the
* handler
*/

View File

@@ -60,7 +60,7 @@ OpenLayers.Handler.Point = OpenLayers.Class(OpenLayers.Handler, {
*
* Parameters:
* control - {<OpenLayers.Control>} The control that owns this handler
* callbacks - {Array} An object with a 'done' property whos value is a
* callbacks - {Object} An object with a 'done' property whos value is a
* function to be called when the point drawing is finished.
* The callback should expect to recieve a single argument,
* the point geometry. If the callbacks object contains a

View File

@@ -29,7 +29,7 @@ OpenLayers.Handler.Polygon = OpenLayers.Class(OpenLayers.Handler.Path, {
*
* Parameters:
* control - {<OpenLayers.Control>}
* callbacks - {Array} An object with a 'done' property whos value is
* callbacks - {Object} An object with a 'done' property whos value is
* a function to be called when the path drawing is
* finished. The callback should expect to recieve a
* single argument, the polygon geometry.