|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.gwtext.client.core.JsObject
com.gwtext.client.widgets.map.LatLonPoint
public class LatLonPoint
LatLonPoint is a point containing a latitude and longitude.
| Field Summary |
|---|
| Fields inherited from class com.gwtext.client.core.JsObject |
|---|
jsObj |
| Constructor Summary | |
|---|---|
LatLonPoint(double lat,
double lon)
Create a new LatLonPoint. |
|
LatLonPoint(com.google.gwt.core.client.JavaScriptObject jsObj)
|
|
| Method Summary | |
|---|---|
double |
distance(LatLonPoint otherPoint)
The distance in kilometers between two points. |
boolean |
equals(java.lang.Object o)
|
double |
getLat()
|
double |
getLon()
|
static LatLonPoint |
instance(com.google.gwt.core.client.JavaScriptObject jsObj)
|
com.google.gwt.core.client.JavaScriptObject |
toFreeEarth()
A FreeEarth point. |
com.google.gwt.core.client.JavaScriptObject |
toGoogle()
A Google Maps point. |
com.google.gwt.core.client.JavaScriptObject |
toMap24()
A Map24 point. |
com.google.gwt.core.client.JavaScriptObject |
toMapQuest()
A MapQuest point. |
com.google.gwt.core.client.JavaScriptObject |
toMicrosoft()
A Microsoft Virtual Earth point. |
com.google.gwt.core.client.JavaScriptObject |
toMultiMap()
A MultiMap point. |
com.google.gwt.core.client.JavaScriptObject |
toOpenLayers()
An OpenLayers point. |
java.lang.String |
toString()
|
com.google.gwt.core.client.JavaScriptObject |
toYahoo()
A Yahoo point. |
| Methods inherited from class com.gwtext.client.core.JsObject |
|---|
getJsObj, getProperties, isCreated, setJsObj |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LatLonPoint(double lat,
double lon)
lat - the latitudelon - the longitudepublic LatLonPoint(com.google.gwt.core.client.JavaScriptObject jsObj)
| Method Detail |
|---|
public static LatLonPoint instance(com.google.gwt.core.client.JavaScriptObject jsObj)
public double distance(LatLonPoint otherPoint)
otherPoint - the other point
public com.google.gwt.core.client.JavaScriptObject toFreeEarth()
toFreeEarth in interface MapProviderspublic com.google.gwt.core.client.JavaScriptObject toGoogle()
toGoogle in interface MapProviderspublic com.google.gwt.core.client.JavaScriptObject toMap24()
toMap24 in interface MapProviderspublic com.google.gwt.core.client.JavaScriptObject toMapQuest()
public com.google.gwt.core.client.JavaScriptObject toMicrosoft()
toMicrosoft in interface MapProviderspublic com.google.gwt.core.client.JavaScriptObject toMultiMap()
toMultiMap in interface MapProviderspublic com.google.gwt.core.client.JavaScriptObject toOpenLayers()
toOpenLayers in interface MapProviderspublic com.google.gwt.core.client.JavaScriptObject toYahoo()
toYahoo in interface MapProviderspublic double getLat()
public double getLon()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||