Skip to main content

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

ParameterTypeDefault valueDescription
strstringundefinedthe string to parse
acceptShortFormbooleantruewhether to accept the short (XYYZUU/XYYUUZ) formats

Returns

null | GeoPointInterface

a LatLongInterface object if a valid LL definition and null otherwise