Class ProjectedCoordinateFormat
java.lang.Object
org.openstreetmap.josm.data.coor.conversion.AbstractCoordinateFormat
org.openstreetmap.josm.data.coor.conversion.ProjectedCoordinateFormat
- All Implemented Interfaces:
ICoordinateFormat
Coordinate format that projects a coordinate and returns northing and easting in
decimal format.
- Since:
- 12735
-
Field Summary
FieldsFields inherited from class org.openstreetmap.josm.data.coor.conversion.AbstractCoordinateFormat
cDdFormatter, displayName, EAST, id, NORTH, SOUTH, WEST -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlatToString(ILatLon ll) Convert latitude to string.lonToString(ILatLon ll) Convert longitude to string.Methods inherited from class org.openstreetmap.josm.data.coor.conversion.AbstractCoordinateFormat
getDisplayName, getId, newUnlocalizedDecimalFormat, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.openstreetmap.josm.data.coor.conversion.ICoordinateFormat
toString
-
Field Details
-
INSTANCE
The unique instance.
-
-
Constructor Details
-
ProjectedCoordinateFormat
protected ProjectedCoordinateFormat()
-
-
Method Details
-
latToString
Description copied from interface:ICoordinateFormatConvert latitude to string.- Parameters:
ll- the coordinate- Returns:
- formatted latitude
-
lonToString
Description copied from interface:ICoordinateFormatConvert longitude to string.- Parameters:
ll- the coordinate- Returns:
- formatted longitude
-