earthoutreach / earth-api-utility-library

Automatically exported from code.google.com/p/earth-api-utility-library
0 stars 0 forks source link

Error in geo.Bounds.prototype.isEmpty #35

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Wasn't sure where/how to flag this.

geo.Bounds.prototype.isEmpty = function() {
  return (this.sw_ === null && this.sw_ === null);
};

Should be...

geo.Bounds.prototype.isEmpty = function() {
  return (this.sw_ === null && this.ne_ === null);
};

Not convinced that in practical use it makes a difference but might trip 
something up...

Original issue reported on code.google.com by fraser.c...@gmail.com on 24 Mar 2011 at 10:25