Class | Geokit::Bounds |
In: |
lib/geokit/mappable.rb
|
Parent: | Object |
Bounds represents a rectangular bounds, defined by the SW and NE corners
Takes two main combinations of arguments to create a bounds: point,point (this is the only one which takes two arguments [point,point] . . . where a point is anything LatLng#normalize can handle (which is quite a lot)
NOTE: everything combination is assumed to pass points in the order sw, ne
Returns true if the candidate object is logically equal. Logical equivalence is true if the lat and lng attributes are the same for both objects.