ol.format.IGC

new IGC

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

Options.

Source:
  • igcformat.js, line 30

Extends

  • ol.format.TextFeature

Methods

readFeature

Stability: not documented

Read the feature from the IGC source.

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

Source.

Source:
  • igcformat.js, line 95
Returns:

Feature.

Type
ol.Feature

readFeatures

Stability: not documented

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 177
Returns:

Features.

Type
Array.<ol.Feature>

readProjection

Stability: not documented

Read the projection from the IGC source.

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

Source.

Source:
  • igcformat.js, line 200
Returns:

Projection.

Type
ol.proj.Projection