|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--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 |
Object lat
Object lng
Object lon
| Constructor Detail |
LatLonPoint(<double> lat,<double> lon)
lat - is the latitude
lon - is the longitude
| Method Detail |
double distance(<LatLonPoint> otherPoint)
otherPoint - The other point to measure the distance from to this one
boolean equals(<LatLonPoint> otherPoint)
otherPoint - The other point to test with
Object toFreeEarth()
Object toGoogle()
Object toMapQuest()
Object toMicrosoft()
Object toMultiMap()
String toString()
Object toYahoo()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||