org.wicketstuff.gmap.api
Class GLatLng

java.lang.Object
  extended by org.wicketstuff.gmap.api.GLatLng
All Implemented Interfaces:
Serializable, GValue

public class GLatLng
extends Object
implements GValue

Represents an Google Maps API's LatLng.

See Also:
Serialized Form

Constructor Summary
GLatLng(double lat, double lng)
          Construct.
GLatLng(double lat, double lng, boolean unbounded)
          Construct.
 
Method Summary
 boolean equals(Object obj)
           
 String getArguments()
           
 String getJSconstructor()
           
 double getLat()
           
 double getLng()
           
 int hashCode()
           
static GLatLng parse(String value)
          (37.34068368469045, -122.48519897460936)
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GLatLng

public GLatLng(double lat,
               double lng)
Construct.

Parameters:
lat -
lng -

GLatLng

public GLatLng(double lat,
               double lng,
               boolean unbounded)
Construct.

Parameters:
lat -
lng -
unbounded -
Method Detail

getLat

public double getLat()

getLng

public double getLng()

toString

public String toString()
Overrides:
toString in class Object

getJSconstructor

public String getJSconstructor()
Specified by:
getJSconstructor in interface GValue
Returns:
A JavaScript constructor that represents this element.

getArguments

public String getArguments()

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

parse

public static GLatLng parse(String value)
(37.34068368469045, -122.48519897460936)



Copyright © 2014. All rights reserved.