Class: WT21CoordinatesUtils
Defined in: wtlinesdk/fms/WTLineCoordinatesUtils.ts:25
Utilities for parsing coordinates in the WT21 supported formats
Constructors
Constructor
new WT21CoordinatesUtils():
WTLineCoordinatesUtils
Returns
WTLineCoordinatesUtils
Methods
parseLatLong()
staticparseLatLong(str,acceptShortForm):CoordinatesInput|null
Defined in: wtlinesdk/fms/WTLineCoordinatesUtils.ts:34
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
CoordinatesInput | null
a LatLongInterface object if a valid PBPB definition and null otherwise