Class: Epic2CoordinatesUtils
Defined in: workingtitle-instruments-epic2/shared/Fms/Epic2CoordinateUtils.ts:24
Utilities for parsing coordinates in the WT21 supported formats
Constructors
Constructor
new Epic2CoordinatesUtils():
Epic2CoordinatesUtils
Returns
Epic2CoordinatesUtils
Methods
parseLatLong()
static
parseLatLong(str
,acceptShortForm
):null
|GeoPointInterface
Defined in: workingtitle-instruments-epic2/shared/Fms/Epic2CoordinateUtils.ts:33
Parses a string according to the LAT LONG format
Parameters
Parameter | Type | Default value | Description |
---|---|---|---|
str | string | undefined | the string to parse |
acceptShortForm | boolean | true | whether to accept the short (XYYZUU/XYYUUZ) formats |
Returns
null
| GeoPointInterface
a LatLongInterface object if a valid LL definition and null
otherwise