org.gbanga.api.geojson.util
Class Coordinates

java.lang.Object
  extended by org.gbanga.api.geojson.util.Coordinates

public class Coordinates
extends java.lang.Object

The coordinates of a geometry object in the GeoJSON standard.

Author:
Matthias
See Also:
GeoJSON.org, geometry objects

Field Summary
 float lat
          The latitude.
 float lon
          The longitude.
 
Constructor Summary
Coordinates(float lon, float lat)
          Creates coordinates with the given longitude and latitude.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lat

public float lat
The latitude.


lon

public float lon
The longitude.

Constructor Detail

Coordinates

public Coordinates(float lon,
                   float lat)
Creates coordinates with the given longitude and latitude.

Parameters:
lon - the longitude
lat - the latitude