wicket.contrib.gmap.api
Class GLatLng

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

public class GLatLng
extends Object
implements GValue

Represents an Google Maps API's GLatLng.

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 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.
See Also:
GValue.getJSconstructor()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

parse

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



Copyright © 2012. All Rights Reserved.