|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wicketstuff.openlayers.api.LonLat
public class LonLat
Represents an Open layers http://dev.openlayers.org/apidocs/files/OpenLayers/BaseTypes/LonLat-js.html
| Field Summary | |
|---|---|
protected static String |
DEFAULT_PROJECTION
Default projection |
| Constructor Summary | |
|---|---|
LonLat(double lng,
double lat)
Creates a new instance. |
|
LonLat(double lng,
double lat,
String projection)
Creates a new instance. |
|
LonLat(double lng,
double lat,
String projection,
String targetProjection)
Creates a new instance. |
|
LonLat(com.vividsolutions.jts.geom.Point point)
Creates a new instance. |
|
LonLat(com.vividsolutions.jts.geom.Point point,
String projection)
Creates a new instance. |
|
LonLat(com.vividsolutions.jts.geom.Point point,
String projection,
String targetProjection)
Creates a new instance. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getJSconstructor()
|
double |
getLat()
Returns the latitude for this coordinate. |
double |
getLng()
Returns the longitude for this coordinate. |
com.vividsolutions.jts.geom.Point |
getPoint()
|
int |
hashCode()
|
static LonLat |
parse(String value)
(37.34068368469045, -122.48519897460936) |
static LonLat |
parseWithNames(String value)
(lon=37.34068368469045, lat=-122.48519897460936) |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final String DEFAULT_PROJECTION
| Constructor Detail |
|---|
public LonLat(double lng,
double lat)
lng - Longitude valuelat - Latitude value
public LonLat(double lng,
double lat,
String projection)
lng - Longitude valuelat - Latitude valueprojection - Projection for this coordinate
public LonLat(double lng,
double lat,
String projection,
String targetProjection)
lng - Longitude valuelat - Latitude valueprojection - Projection for this coordinatetargetProjection - Target projection when placing coordinate on mappublic LonLat(com.vividsolutions.jts.geom.Point point)
point - Point coordinate
public LonLat(com.vividsolutions.jts.geom.Point point,
String projection)
point - Point coordinateprojection - Projection for this coordinate
public LonLat(com.vividsolutions.jts.geom.Point point,
String projection,
String targetProjection)
point - Point coordinateprojection - Projection for this coordinatetargetProjection - Target projection when placing coordinate on map| Method Detail |
|---|
public double getLat()
public double getLng()
public String toString()
toString in class Objectpublic String getJSconstructor()
getJSconstructor in interface Valuepublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic com.vividsolutions.jts.geom.Point getPoint()
public static LonLat parse(String value)
public static LonLat parseWithNames(String value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||