small updates to comments related to LatLon -> LonLat transition [99]

git-svn-id: http://svn.openlayers.org/trunk/openlayers@101 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-05-17 16:11:18 +00:00
parent fc7bbe5beb
commit 24c4b03d07

View File

@@ -57,7 +57,7 @@ OpenLayers.Pixel.prototype = {
/**
* @param {OpenLayers.Pixel} px
*
* @return a Pixel object with the absolute difference between the two pixels
* @return Pixel object with the absolute difference between the two pixels
* @type OpenLayers.Pixel
*/
diffABS:function(px) {
@@ -80,7 +80,8 @@ OpenLayers.Pixel.prototype = {
* @param {int} x
* @param {int} y
*
* @return a new Pixel with this pixel's x&y augmented by the int values passed in.
* @return a new Pixel with this pixel's x&y augmented by the
* values passed in.
* @type OpenLayers.Pixel
*/
add:function(x, y) {
@@ -115,7 +116,8 @@ OpenLayers.Size.prototype = {
},
/**
* @return String representation of OpenLayers.Size object. (ex. "w=55,h=66")
* @return String representation of OpenLayers.Size object.
* (ex. "w=55,h=66")
* @type String
*/
toString:function() {
@@ -154,8 +156,8 @@ OpenLayers.LonLat.prototype = {
/**
* @constructor
*
* @param {float} lat
* @param {float} lon
* @param {float} lat
*/
initialize: function(lon, lat) {
this.lat = lat;
@@ -164,7 +166,7 @@ OpenLayers.LonLat.prototype = {
/**
* @return String representation of OpenLayers.LonLat object.
* (ex. "lat=42,lon=5")
* (ex. "lon=5,lat=42")
* @type String
*/
toString:function() {
@@ -173,7 +175,7 @@ OpenLayers.LonLat.prototype = {
/**
* @return Shortened String representation of OpenLayers.LonLat object.
* (ex. "42,5")
* (ex. "5,42")
* @type String
*/
toShortString:function() {
@@ -181,7 +183,7 @@ OpenLayers.LonLat.prototype = {
},
/**
* @return New OpenLayers.LonLat object with the same lat and lon values
* @return New OpenLayers.LonLat object with the same lon and lat values
* @type OpenLayers.LonLat
*/
copyOf:function() {
@@ -191,7 +193,7 @@ OpenLayers.LonLat.prototype = {
/**
* @param {OpenLayers.LonLat} ll
*
* @return an OpenLayers.LonLat object with the difference between the two coords
* @return OpenLayers.LonLat object with difference between the two coords
* @type OpenLayers.Pixel
*/
diff:function(ll) {
@@ -201,12 +203,12 @@ OpenLayers.LonLat.prototype = {
/**
* @param {OpenLayers.LonLat} ll
* @returns Boolean value indicating whether the passed-in OpenLayers.LonLat
* object has the same lat and lon components as this
* object has the same lon and lat components as this
*
* @type bool
*/
equals:function(ll) {
return ((this.lat == ll.lat) && (this.lon == ll.lon));
return ((this.lon == ll.lon) && (this.lat == ll.lat));
},
/** @type String */