org.wicketstuff.openlayers.api
Class Bounds
java.lang.Object
org.wicketstuff.openlayers.api.Bounds
- All Implemented Interfaces:
- Serializable, Value
public class Bounds
- extends Object
- implements Value
- See Also:
- Serialized Form
Bounds
public Bounds(LonLat sw,
LonLat ne)
- Construct.
- Parameters:
sw - ne -
getSW
public LonLat getSW()
getNE
public LonLat getNE()
toString
public String toString()
- Overrides:
toString in class Object
getJSconstructor
public String getJSconstructor()
- Specified by:
getJSconstructor in interface Value
- Returns:
- A JavaScript constructor that represents this element.
- See Also:
Value.contrib.gmap.api.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 Bounds parse(String value)
- ((37.34068368469045, -122.48519897460936), (37.72184917678752, -121.79855346679686))
parseWithNames
public static Bounds parseWithNames(String value)
- left-bottom=(37.34068368469045, -122.48519897460936) right-top=(37.72184917678752,
-121.79855346679686)
Copyright © 2008-2012. All Rights Reserved.