new IGC
Stability: experimental
Parameters:
| Name | Type | Argument | Description | ||||||
|---|---|---|---|---|---|---|---|---|---|
options |
olx.format.IGCOptions |
<optional> |
Options. Properties
|
- Source:
- igcformat.js, line 30
Extends
- ol.format.TextFeature
Methods
-
readFeature
Stability: experimental -
Read the feature from the IGC source.
Parameters:
Name Type Description sourceArrayBuffer | 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 sourceArrayBuffer | 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 sourceArrayBuffer | Document | Node | Object | string Source.
- Source:
- igcformat.js, line 206
Returns:
Projection.
- Type
- ol.proj.Projection
OpenLayers 3