public class OSMNode extends OSMObject
Constructor and Description |
---|
OSMNode(long id,
double lat,
double lon)
Construct an OSMNode.
|
Modifier and Type | Method and Description |
---|---|
double |
getLatitude()
Get the latitude of this node in degrees.
|
double |
getLongitude()
Get the longitude of this node in degrees.
|
java.lang.String |
toString() |
public OSMNode(long id, double lat, double lon)
id
- The ID of the node.lat
- The latitude of the node.lon
- The longitude of the node.public double getLatitude()
public double getLongitude()
public java.lang.String toString()
toString
in class java.lang.Object