Class LatLonPoint

Object
   |
   +--LatLonPoint

class LatLonPoint

Defined in mapstraction.js


Field Summary
 Object lat
          
 Object lng
          
 Object lon
          
 
Constructor Summary
LatLonPoint(<double> lat,<double> lon)
            LatLonPoint is a point containing a latitude and longitude with helper methods
 
Method Summary
 double distance(<LatLonPoint> otherPoint)
           distance returns the distance in kilometers between two points
 boolean equals(<LatLonPoint> otherPoint)
           equals tests if this point is the same as some other one
 Object toFreeEarth()
           toFreeEarth returns a FreeEarth point
 Object toGoogle()
           toGoogle returns a Google maps point
 Object toMapQuest()
           toMapQuest returns a MapQuest point
 Object toMicrosoft()
           toMicrosoft returns a VE maps point
 Object toMultiMap()
           toMultiMap returns a MultiMap point
 String toString()
           toString returns a string represntation of a point
 Object toYahoo()
           toYahoo returns a Y!

Field Detail

lat

Object lat

lng

Object lng

lon

Object lon

Constructor Detail

LatLonPoint

LatLonPoint(<double> lat,<double> lon)

Method Detail

distance

double distance(<LatLonPoint> otherPoint)

equals

boolean equals(<LatLonPoint> otherPoint)

toFreeEarth

Object toFreeEarth()

toGoogle

Object toGoogle()

toMapQuest

Object toMapQuest()

toMicrosoft

Object toMicrosoft()

toMultiMap

Object toMultiMap()

toString

String toString()

toYahoo

Object toYahoo()


Documentation generated by JSDoc on Mon May 21 15:24:17 2007