Tabs patch from Erik, to change tabs to spaces so we don't have commit

conflicts later on.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@2920 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2007-03-29 05:53:01 +00:00
parent 4bb320867b
commit 919af2ff90
18 changed files with 100 additions and 100 deletions

View File

@@ -33,11 +33,11 @@ OpenLayers.Geometry.Point.prototype =
* @param {float} y
*/
initialize: function(x, y) {
OpenLayers.Geometry.prototype.initialize.apply(this, arguments);
OpenLayers.LonLat.prototype.initialize.apply(this, arguments);
this.x = this.lon;
this.y = this.lat;
OpenLayers.Geometry.prototype.initialize.apply(this, arguments);
OpenLayers.LonLat.prototype.initialize.apply(this, arguments);
this.x = this.lon;
this.y = this.lat;
},
/**
@@ -61,8 +61,8 @@ OpenLayers.Geometry.Point.prototype =
* @param {float} x
*/
setX: function(x) {
this.lon = x;
this.x = x;
this.lon = x;
this.x = x;
},
/**
@@ -71,22 +71,22 @@ OpenLayers.Geometry.Point.prototype =
* @param {float} y
*/
setY: function(y) {
this.lat = y;
this.y = y;
this.lat = y;
this.y = y;
},
/**
* @type float
*/
getX: function() {
return this.lon;
return this.lon;
},
/**
* @type float
*/
getY: function() {
return this.lat;
return this.lat;
},
/** Create a new Bounds based on the lon/lat
@@ -117,7 +117,7 @@ OpenLayers.Geometry.Point.prototype =
* @type String
*/
toString: function() {
return this.toShortString();
return this.toShortString();
},
/**