Creates a new LonLatPointFormat
Optionaloptions: LonLatPointFormatConstructorOptionsparameters for the new LonLatPointFormat.
Formats the given longitude/latitude coordinate pair as a String, following the current pattern.
the longitude, expressed in degrees or the point to format
Optionallatitude: numberthe latitude, expressed in degrees (between -90 and 90).
the formatted String.
Formats the given latitude coordinate as a String, following the current pattern.
the latitude, expressed in degrees (between -90 and 90).
the formatted String.
Formats the given longitude coordinate as a String, following the current pattern.
the longitude, expressed in degrees.
the formatted String.
Format for points. It allows you to format points from/to longitude latitude coordinates.
The formatting of coordinates is determined by the pattern string that is passed to the constructor of this class. The EBNF for the pattern syntax ispattern = lon, separator, lat | lat, separator, lon lon = "lon(", axiscoord, ")" lat = "lat(", axiscoord, ")" axiscoord = axis, signcoord | signcoord, axis, signcoord signcoord = sign, coord | coord coord = degrees | degrees, minutes | degrees, minutes, seconds degrees = ( "d" | "D" ), { digit } minutes = ( "m" | "M" ), { digit } seconds = ( "s" | "S" ), { digit } axis = "a" digit = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" ; separator = { ? any character ? }The table below details the meaning of each pattern character
Since
2013.0