Skip to content

arlas-web-components / Exports / Coordinate

Class: Coordinate

Table of contents

Constructors

Methods

Constructors

constructor

new Coordinate()

Methods

dmsToDd

Static dmsToDd(degrees, minutes, seconds): number

DegreeMinutesSeconds to Decimal degree

Parameters

Name Type
degrees number
minutes number
seconds number

Returns

number

Defined in

projects/arlas-components/src/lib/tools/coordinates.tools.ts:71


parse

Static parse(value): number

Parses a coordinate in decimal or sexagesimal degrees and returns the decimal degrees

Parameters

Name Type
value string

Returns

number

Defined in

projects/arlas-components/src/lib/tools/coordinates.tools.ts:54