public class LatLng
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Class and Description |
|---|---|
protected static class |
LatLng.Array2DProperty |
protected static class |
LatLng.ArrayProperty |
protected static class |
LatLng.Property |
| Constructor and Description |
|---|
LatLng() |
LatLng(double lat,
double lng) |
LatLng(double lat,
double lng,
boolean noWrap) |
LatLng(Map map,
double lat,
double lng)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected LatLng |
clone() |
protected com.teamdev.jxmaps.internal.JSValue |
createJSValue(Map map) |
boolean |
equals(LatLng other)
Comparison function.
|
protected static LatLng |
fromJSValue(com.teamdev.jxmaps.internal.JSValue value) |
double |
getLat()
Returns the latitude in degrees.
|
double |
getLng()
Returns the longitude in degrees.
|
java.lang.String |
toString()
Converts to string representation.
|
java.lang.String |
toUrlValue(double precision)
Returns a string of the form "lat,lng" for this LatLng.
|
public LatLng(double lat,
double lng,
boolean noWrap)
public LatLng()
public LatLng(double lat,
double lng)
@Deprecated public LatLng(Map map, double lat, double lng)
public boolean equals(LatLng other)
other - other objectpublic double getLat()
public double getLng()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toUrlValue(double precision)
precision - precision of the resultprotected static LatLng fromJSValue(com.teamdev.jxmaps.internal.JSValue value)
protected LatLng clone()
clone in class java.lang.Objectprotected com.teamdev.jxmaps.internal.JSValue createJSValue(Map map)