ol.format.IGC

new IGC

Stability: experimental
Parameters:
Name Type Argument Description
options olx.format.IGCOptions <optional>

Options.

Properties
Name Type Description
altitudeMode ol.format.IGCZ | undefined

Altitude mode. Possible values are barometric, gps, and none. Default is none.

Source:
  • igcformat.js, line 30

Extends

  • ol.format.TextFeature

Methods

readFeature

Stability: experimental

Read the feature from the IGC source.

Parameters:
Name Type Description
source ArrayBuffer | Document | Node | Object | string

Source.

Source:
  • igcformat.js, line 96
Returns:

Feature.

Type
ol.Feature

readFeatures

Stability: experimental

Read the feature from the source. As IGC sources contain a single feature, this will return the feature in an array.

Parameters:
Name Type Description
source ArrayBuffer | Document | Node | Object | string

Source.

Source:
  • igcformat.js, line 182
Returns:

Features.

Type
Array.<ol.Feature>

readProjection

Stability: experimental

Read the projection from the IGC source.

Parameters:
Name Type Description
source ArrayBuffer | Document | Node | Object | string

Source.

Source:
  • igcformat.js, line 206
Returns:

Projection.

Type
ol.proj.Projection