From 2337f9f2d89bea83bed104a2608b77859ef9ca53 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Mon, 17 Sep 2007 16:59:16 +0000 Subject: [PATCH] Adding angle brackets to link class names in the docs (see #983). git-svn-id: http://svn.openlayers.org/trunk/openlayers@4353 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Control.js | 2 +- lib/OpenLayers/Control/DragFeature.js | 38 ++++++++++++------------ lib/OpenLayers/Control/ModifyFeature.js | 6 ++-- lib/OpenLayers/Control/OverviewMap.js | 2 +- lib/OpenLayers/Handler/RegularPolygon.js | 2 +- 5 files changed, 25 insertions(+), 25 deletions(-) diff --git a/lib/OpenLayers/Control.js b/lib/OpenLayers/Control.js index 03eb8f00fd..6f04a645bd 100644 --- a/lib/OpenLayers/Control.js +++ b/lib/OpenLayers/Control.js @@ -93,7 +93,7 @@ OpenLayers.Control = OpenLayers.Class({ /** * Property: handler - * { null + * {} null */ handler: null, diff --git a/lib/OpenLayers/Control/DragFeature.js b/lib/OpenLayers/Control/DragFeature.js index 9728cac155..dc484d923f 100644 --- a/lib/OpenLayers/Control/DragFeature.js +++ b/lib/OpenLayers/Control/DragFeature.js @@ -31,9 +31,9 @@ OpenLayers.Control.DragFeature = OpenLayers.Class(OpenLayers.Control, { * that is about to be dragged and the pixel location of the mouse. * * Parameters: - * feature - {OpenLayers.Feature.Vector} The feature that is about to be + * feature - {} The feature that is about to be * dragged. - * pixel - {OpenLayers.Pixel} The pixel location of the mouse. + * pixel - {} The pixel location of the mouse. */ onStart: function(feature, pixel) {}, @@ -44,8 +44,8 @@ OpenLayers.Control.DragFeature = OpenLayers.Class(OpenLayers.Control, { * feature that is being dragged and the pixel location of the mouse. * * Parameters: - * feature - {OpenLayers.Feature.Vector} The feature that was dragged. - * pixel - {OpenLayers.Pixel} The pixel location of the mouse. + * feature - {} The feature that was dragged. + * pixel - {} The pixel location of the mouse. */ onDrag: function(feature, pixel) {}, @@ -57,26 +57,26 @@ OpenLayers.Control.DragFeature = OpenLayers.Class(OpenLayers.Control, { * mouse. * * Parameters: - * feature - {OpenLayers.Feature.Vector} The feature that was dragged. - * pixel - {OpenLayers.Pixel} The pixel location of the mouse. + * feature - {} The feature that was dragged. + * pixel - {} The pixel location of the mouse. */ onComplete: function(feature, pixel) {}, /** * Property: layer - * {OpenLayers.Layer.Vector} + * {} */ layer: null, /** * Property: feature - * {OpenLayers.Feature.Vector} + * {} */ feature: null, /** * Property: dragHandler - * {OpenLayers.Handler.Drag} + * {} */ dragHandler: null, @@ -88,7 +88,7 @@ OpenLayers.Control.DragFeature = OpenLayers.Class(OpenLayers.Control, { /** * Property: featureHandler - * {OpenLayers.Handler.Feature} + * {} */ featureHandler: null, @@ -100,7 +100,7 @@ OpenLayers.Control.DragFeature = OpenLayers.Class(OpenLayers.Control, { /** * Property: lastPixel - * {OpenLayers.Pixel} + * {} */ lastPixel: null, @@ -109,7 +109,7 @@ OpenLayers.Control.DragFeature = OpenLayers.Class(OpenLayers.Control, { * Create a new control to drag features. * * Parameters: - * layer - {OpenLayers.Layer.Vector} The layer containing features to be + * layer - {} The layer containing features to be * dragged. * options - {Object} Optional object whose properties will be set on the * control. @@ -179,7 +179,7 @@ OpenLayers.Control.DragFeature = OpenLayers.Class(OpenLayers.Control, { * This activates the drag handler. * * Parameters: - * feature - {OpenLayers.Feature.Vector} The selected feature. + * feature - {} The selected feature. */ overFeature: function(feature) { if(!this.dragHandler.dragging) { @@ -202,7 +202,7 @@ OpenLayers.Control.DragFeature = OpenLayers.Class(OpenLayers.Control, { * Called when the drag handler detects a mouse-down. * * Parameters: - * pixel - {OpenLayers.Pixel} Location of the mouse event. + * pixel - {} Location of the mouse event. */ downFeature: function(pixel) { this.lastPixel = pixel; @@ -215,7 +215,7 @@ OpenLayers.Control.DragFeature = OpenLayers.Class(OpenLayers.Control, { * optional onDrag method. * * Parameters: - * pixel - {OpenLayers.Pixel} Location of the mouse event. + * pixel - {} Location of the mouse event. */ moveFeature: function(pixel) { var res = this.map.getResolution(); @@ -232,7 +232,7 @@ OpenLayers.Control.DragFeature = OpenLayers.Class(OpenLayers.Control, { * optional onComplete method. * * Parameters: - * pixel - {OpenLayers.Pixel} Location of the mouse event. + * pixel - {} Location of the mouse event. */ upFeature: function(pixel) { if(!this.over) { @@ -248,7 +248,7 @@ OpenLayers.Control.DragFeature = OpenLayers.Class(OpenLayers.Control, { * Called when the drag handler is done dragging. * * Parameters: - * pixel - {OpenLayers.Pixel} The last event pixel location. If this event + * pixel - {} The last event pixel location. If this event * came from a mouseout, this may not be in the map viewport. */ doneDragging: function(pixel) { @@ -260,7 +260,7 @@ OpenLayers.Control.DragFeature = OpenLayers.Class(OpenLayers.Control, { * Called when the feature handler detects a mouse-out on a feature. * * Parameters: - * feature - {OpenLayers.Feature.Vector} The feature that the mouse left. + * feature - {} The feature that the mouse left. */ outFeature: function(feature) { if(!this.dragHandler.dragging) { @@ -290,7 +290,7 @@ OpenLayers.Control.DragFeature = OpenLayers.Class(OpenLayers.Control, { * Set the map property for the control and all handlers. * * Parameters: - * map - {OpenLayers.Map} The control's map. + * map - {} The control's map. */ setMap: function(map) { this.dragHandler.setMap(map); diff --git a/lib/OpenLayers/Control/ModifyFeature.js b/lib/OpenLayers/Control/ModifyFeature.js index 963dceb4ad..826030105d 100644 --- a/lib/OpenLayers/Control/ModifyFeature.js +++ b/lib/OpenLayers/Control/ModifyFeature.js @@ -30,7 +30,7 @@ OpenLayers.Control.ModifyFeature = OpenLayers.Class(OpenLayers.Control, { /** * Property: layer - * {OpenLayers.Layer.Vector} + * {} */ layer: null, @@ -116,7 +116,7 @@ OpenLayers.Control.ModifyFeature = OpenLayers.Class(OpenLayers.Control, { * Create a new modify feature control. * * Parameters: - * layer - {OpenLayers.Layer.Vector} Layer that contains features that + * layer - {} Layer that contains features that * will be modified. * options - {Object} Optional object whose properties will be set on the * control. @@ -450,7 +450,7 @@ OpenLayers.Control.ModifyFeature = OpenLayers.Class(OpenLayers.Control, { * Set the map property for the control and all handlers. * * Parameters: - * map - {OpenLayers.Map} The control's map. + * map - {} The control's map. */ setMap: function(map) { this.selectControl.setMap(map); diff --git a/lib/OpenLayers/Control/OverviewMap.js b/lib/OpenLayers/Control/OverviewMap.js index 9cfead4ad0..70a0ab1f79 100644 --- a/lib/OpenLayers/Control/OverviewMap.js +++ b/lib/OpenLayers/Control/OverviewMap.js @@ -53,7 +53,7 @@ OpenLayers.Control.OverviewMap = OpenLayers.Class(OpenLayers.Control, { /** * APIProperty: minRatio - * {Numver} The ratio of the overview map resolution to the main map + * {Float} The ratio of the overview map resolution to the main map * resolution at which to zoom farther out on the overview map. */ minRatio: 8, diff --git a/lib/OpenLayers/Handler/RegularPolygon.js b/lib/OpenLayers/Handler/RegularPolygon.js index e45b74f218..a9ba1ed2d2 100644 --- a/lib/OpenLayers/Handler/RegularPolygon.js +++ b/lib/OpenLayers/Handler/RegularPolygon.js @@ -284,7 +284,7 @@ OpenLayers.Handler.RegularPolygon = OpenLayers.Class(OpenLayers.Handler.Drag, { * Calculate the angle based on settings. * * Parameters: - * point - {OpenLayers.Geometry.Point} + * point - {} * evt - {Event} */ calculateAngle: function(point, evt) {