diff --git a/lib/OpenLayers/BaseTypes/Bounds.js b/lib/OpenLayers/BaseTypes/Bounds.js index a1fde00618..b736aff693 100644 --- a/lib/OpenLayers/BaseTypes/Bounds.js +++ b/lib/OpenLayers/BaseTypes/Bounds.js @@ -436,7 +436,7 @@ OpenLayers.Bounds.prototype = { //shift right? while ( newBounds.left < maxExtent.left && - (newBounds.right - rightTolerance) <= maxExtent.left ) { + (newBounds.right - rightTolerance) <= maxExtent.left ) { newBounds = newBounds.add(maxExtent.getWidth(), 0); } diff --git a/lib/OpenLayers/Feature.js b/lib/OpenLayers/Feature.js index f0d28679f9..4de1e1a213 100644 --- a/lib/OpenLayers/Feature.js +++ b/lib/OpenLayers/Feature.js @@ -15,46 +15,46 @@ OpenLayers.Feature = OpenLayers.Class.create(); OpenLayers.Feature.prototype= { /** - * Property: events - * {} - */ - events: null, + * Property: events + * {} + */ + events: null, /** - * Property: layer - * {} - */ - layer: null, + * Property: layer + * {} + */ + layer: null, /** - * Property: id - * {String} - */ - id: null, + * Property: id + * {String} + */ + id: null, /** - * Property: lonlat - * {} - */ - lonlat: null, + * Property: lonlat + * {} + */ + lonlat: null, /** - * Property: data - * {Object} - */ - data: null, + * Property: data + * {Object} + */ + data: null, /** - * Property: marker - * {} - */ - marker: null, + * Property: marker + * {} + */ + marker: null, /** - * Property: popup - * {} - */ - popup: null, + * Property: popup + * {} + */ + popup: null, /** * Constructor: OpenLayers.Feature diff --git a/lib/OpenLayers/Feature/Vector.js b/lib/OpenLayers/Feature/Vector.js index 41b2e3aa95..2621b8c3b0 100644 --- a/lib/OpenLayers/Feature/Vector.js +++ b/lib/OpenLayers/Feature/Vector.js @@ -29,34 +29,34 @@ OpenLayers.Feature.Vector.prototype = OpenLayers.Class.inherit( OpenLayers.Feature, { /** - * Property: fid - * {String} - */ - fid: null, + * Property: fid + * {String} + */ + fid: null, /** - * Property: geometry - * {} - */ - geometry: null, + * Property: geometry + * {} + */ + geometry: null, /** - * Property: attributes - * {Object} - */ - attributes: null, + * Property: attributes + * {Object} + */ + attributes: null, /** - * Property: state - * {String} - */ - state: null, + * Property: state + * {String} + */ + state: null, /** - * Property: style - * {Object} - */ - style: null, + * Property: style + * {Object} + */ + style: null, /** * Constructor: OpenLayers.Feature.Vector diff --git a/lib/OpenLayers/Format/WFS.js b/lib/OpenLayers/Format/WFS.js index 1801ccb4ab..0b53c6793b 100644 --- a/lib/OpenLayers/Format/WFS.js +++ b/lib/OpenLayers/Format/WFS.js @@ -59,8 +59,8 @@ OpenLayers.Format.WFS.prototype = write: function(features) { var transaction = document.createElementNS('http://www.opengis.net/wfs', 'wfs:Transaction'); - transaction.setAttribute("version","1.0.0"); - transaction.setAttribute("service","WFS"); + transaction.setAttribute("version","1.0.0"); + transaction.setAttribute("service","WFS"); for (var i=0; i < features.length; i++) { switch (features[i].state) { case OpenLayers.State.INSERT: diff --git a/lib/OpenLayers/Handler/Box.js b/lib/OpenLayers/Handler/Box.js index bacde291fa..2fcf0b2635 100644 --- a/lib/OpenLayers/Handler/Box.js +++ b/lib/OpenLayers/Handler/Box.js @@ -16,10 +16,10 @@ OpenLayers.Handler.Box = OpenLayers.Class.create(); OpenLayers.Handler.Box.prototype = OpenLayers.Class.inherit( OpenLayers.Handler, { /** - * Property: dragHandler - * {} - */ - dragHandler: null, + * Property: dragHandler + * {} + */ + dragHandler: null, /** * Constructor: OpenLayers.Handler.Box diff --git a/lib/OpenLayers/Handler/Point.js b/lib/OpenLayers/Handler/Point.js index e96c5b22cf..c9bbae9369 100644 --- a/lib/OpenLayers/Handler/Point.js +++ b/lib/OpenLayers/Handler/Point.js @@ -233,7 +233,7 @@ OpenLayers.Handler.Point.prototype = * Return: * {Boolean} Allow event propagation */ - mousemove: function (evt) { + mousemove: function (evt) { if(this.drawing) { var lonlat = this.map.getLonLatFromPixel(evt.xy); this.point.geometry.x = lonlat.lon; @@ -254,7 +254,7 @@ OpenLayers.Handler.Point.prototype = * Return: * {Boolean} Allow event propagation */ - mouseup: function (evt) { + mouseup: function (evt) { if(this.drawing) { this.finalize(); return false; diff --git a/lib/OpenLayers/Icon.js b/lib/OpenLayers/Icon.js index 6301d86f4c..74ea757982 100644 --- a/lib/OpenLayers/Icon.js +++ b/lib/OpenLayers/Icon.js @@ -10,40 +10,40 @@ OpenLayers.Icon = OpenLayers.Class.create(); OpenLayers.Icon.prototype = { /** - * Property: url - * {String} image url - */ - url: null, + * Property: url + * {String} image url + */ + url: null, /** - * Property: size - * {} - */ - size: null, + * Property: size + * {} + */ + size: null, /** - * Property: offset - * {} distance in pixels to offset the image when being rendered - */ - offset: null, + * Property: offset + * {} distance in pixels to offset the image when being rendered + */ + offset: null, /** - * Property: calculateOffset - * {} Function to calculate the offset (based on the size) - */ - calculateOffset: null, + * Property: calculateOffset + * {} Function to calculate the offset (based on the size) + */ + calculateOffset: null, /** - * Property: imageDiv - * {DOMElement} - */ - imageDiv: null, + * Property: imageDiv + * {DOMElement} + */ + imageDiv: null, /** - * Property: px - * {} - */ - px: null, + * Property: px + * {} + */ + px: null, /** * Constructor: OpenLayers.Icon diff --git a/lib/OpenLayers/Layer/GeoRSS.js b/lib/OpenLayers/Layer/GeoRSS.js index 3355083492..f1ffe3f0b6 100644 --- a/lib/OpenLayers/Layer/GeoRSS.js +++ b/lib/OpenLayers/Layer/GeoRSS.js @@ -19,29 +19,29 @@ OpenLayers.Layer.GeoRSS.prototype = OpenLayers.Class.inherit( OpenLayers.Layer.Markers, { /** - * Property: location - * {String} store url of text file - */ - location: null, + * Property: location + * {String} store url of text file + */ + location: null, /** - * Property: features - * Array({}) - */ - features: null, + * Property: features + * Array({}) + */ + features: null, /** - * Property: selectedFeature - * {} - */ - selectedFeature: null, + * Property: selectedFeature + * {} + */ + selectedFeature: null, - /** - * Property: icon - * {} - */ - icon: null, - + /** + * Property: icon + * {} + */ + icon: null, + /** * Constructor: OpenLayers.Layer.GeoRSS * Create a GeoRSS Layer. diff --git a/lib/OpenLayers/Layer/Markers.js b/lib/OpenLayers/Layer/Markers.js index 886c99df0b..56e47d8be9 100644 --- a/lib/OpenLayers/Layer/Markers.js +++ b/lib/OpenLayers/Layer/Markers.js @@ -16,26 +16,26 @@ OpenLayers.Layer.Markers.prototype = OpenLayers.Class.inherit( OpenLayers.Layer, { /** - * APIProperty: isBaseLayer - * {Boolean} Markers layer is never a base layer. - */ - isBaseLayer: false, + * APIProperty: isBaseLayer + * {Boolean} Markers layer is never a base layer. + */ + isBaseLayer: false, /** - * Property: markers - * Array({}) internal marker list - */ - markers: null, + * Property: markers + * Array({}) internal marker list + */ + markers: null, /** - * Property: drawn + * Property: drawn * {Boolean} internal state of drawing. This is a workaround for the fact * that the map does not call moveTo with a zoomChanged when the map is * first starting up. This lets us catch the case where we have *never* * drawn the layer, and draw it even if the zoom hasn't changed. - */ - drawn: false, + */ + drawn: false, /** * Constructor: OpenLayers.Layer.Markers diff --git a/lib/OpenLayers/Marker.js b/lib/OpenLayers/Marker.js index e83002beb8..21fc223507 100644 --- a/lib/OpenLayers/Marker.js +++ b/lib/OpenLayers/Marker.js @@ -15,28 +15,28 @@ OpenLayers.Marker = OpenLayers.Class.create(); OpenLayers.Marker.prototype = { /** - * Property: icon - * {} - */ - icon: null, + * Property: icon + * {} + */ + icon: null, /** - * Property: lonlat - * {} location of object - */ - lonlat: null, + * Property: lonlat + * {} location of object + */ + lonlat: null, /** - * Property: events - * {} - */ - events: null, + * Property: events + * {} + */ + events: null, /** - * Property: map - * {} - */ - map: null, + * Property: map + * {} + */ + map: null, /** * Constructor: OpenLayers.Marker diff --git a/lib/OpenLayers/Marker/Box.js b/lib/OpenLayers/Marker/Box.js index 08c4dd83bd..2de2944d3e 100644 --- a/lib/OpenLayers/Marker/Box.js +++ b/lib/OpenLayers/Marker/Box.js @@ -16,16 +16,16 @@ OpenLayers.Marker.Box.prototype = OpenLayers.Class.inherit( OpenLayers.Marker, { /** - * Property: bounds - * {} - */ - bounds: null, + * Property: bounds + * {} + */ + bounds: null, /** - * Property: div - * {DOMElement} - */ - div: null, + * Property: div + * {DOMElement} + */ + div: null, /** * Constructor: OpenLayers.Marker.Box diff --git a/lib/OpenLayers/Popup.js b/lib/OpenLayers/Popup.js index ff3477f5c9..0570fa9765 100644 --- a/lib/OpenLayers/Popup.js +++ b/lib/OpenLayers/Popup.js @@ -17,10 +17,10 @@ OpenLayers.Popup.BORDER = "0px"; OpenLayers.Popup.prototype = { /** - * Property: events - * {} - */ - events: null, + * Property: events + * {} + */ + events: null, /** Property: id * {String} @@ -28,71 +28,71 @@ OpenLayers.Popup.prototype = { id: "", /** - * Property: lonlat - * {} - */ - lonlat: null, + * Property: lonlat + * {} + */ + lonlat: null, /** - * Property: div - * {DOMElement} - */ - div: null, + * Property: div + * {DOMElement} + */ + div: null, /** - * Property: size - * {} - */ - size: null, + * Property: size + * {} + */ + size: null, /** - * Property: contentHTML - * {String} - */ - contentHTML: "", + * Property: contentHTML + * {String} + */ + contentHTML: "", /** - * Property: backgroundColor - * {String} - */ - backgroundColor: "", + * Property: backgroundColor + * {String} + */ + backgroundColor: "", /** - * Property: opacity - * {float} - */ - opacity: "", + * Property: opacity + * {float} + */ + opacity: "", /** - * Property: border - * {String} - */ - border: "", + * Property: border + * {String} + */ + border: "", /** - * Property: contentDiv - * {DOMElement} - */ - contentDiv: null, + * Property: contentDiv + * {DOMElement} + */ + contentDiv: null, /** - * Property: groupDiv - * {DOMElement} - */ - groupDiv: null, + * Property: groupDiv + * {DOMElement} + */ + groupDiv: null, /** - * Property: padding - * {int} - */ - padding: 5, + * Property: padding + * {int} + */ + padding: 5, /** - * Property: map - * {} this gets set in Map.js when the popup is added to the map - */ - map: null, + * Property: map + * {} this gets set in Map.js when the popup is added to the map + */ + map: null, /** * Constructor: OpenLayers.Popup diff --git a/lib/OpenLayers/Tile.js b/lib/OpenLayers/Tile.js index adc66f2d33..1dc9041c7f 100644 --- a/lib/OpenLayers/Tile.js +++ b/lib/OpenLayers/Tile.js @@ -21,16 +21,16 @@ OpenLayers.Tile = OpenLayers.Class.create(); OpenLayers.Tile.prototype = { /** - * Property: id - * {String} null - */ - id: null, + * Property: id + * {String} null + */ + id: null, /** - * Property: layer - * {} layer the tile is attached to - */ - layer: null, + * Property: layer + * {} layer the tile is attached to + */ + layer: null, /** * Property: url @@ -43,28 +43,28 @@ OpenLayers.Tile.prototype = { url: null, /** - * APIProperty: bounds - * {} null - */ - bounds: null, + * APIProperty: bounds + * {} null + */ + bounds: null, /** - * Property: size - * {} null - */ - size: null, + * Property: size + * {} null + */ + size: null, /** - * Property: position - * {} Top Left pixel of the tile - */ + * Property: position + * {} Top Left pixel of the tile + */ position: null, /** - * Property: drawn - * {Boolean} false - */ - drawn: false, + * Property: drawn + * {Boolean} false + */ + drawn: false, /** TBD 3.0 -- remove 'url' from the list of parameters to the constructor. * there is no need for the base tile class to have a url. diff --git a/lib/OpenLayers/Tile/Image.js b/lib/OpenLayers/Tile/Image.js index ccb6e8827a..4145c16e5c 100644 --- a/lib/OpenLayers/Tile/Image.js +++ b/lib/OpenLayers/Tile/Image.js @@ -157,7 +157,7 @@ OpenLayers.Tile.Image.prototype = var offset = this.layer.imageOffset; var size = this.layer.getImageSize(); - + if (this.layer.alpha) { this.imgDiv = OpenLayers.Util.createAlphaImageDiv(null, offset, diff --git a/lib/OpenLayers/Tile/WFS.js b/lib/OpenLayers/Tile/WFS.js index a712761ff8..e83351648b 100644 --- a/lib/OpenLayers/Tile/WFS.js +++ b/lib/OpenLayers/Tile/WFS.js @@ -19,16 +19,16 @@ OpenLayers.Tile.WFS.prototype = OpenLayers.Class.inherit( OpenLayers.Tile, { /** - * Property: features - * {Array()} list of features in this tile - */ - features: null, + * Property: features + * {Array()} list of features in this tile + */ + features: null, /** - * Property: url - * {String} - */ - url: null, + * Property: url + * {String} + */ + url: null, /** TBD 3.0 - reorder the parameters to the init function to put URL * as last, so we can continue to call tile.initialize()