new GPX
Stability: experimental
- Source:
- gpxformat.js, line 24
Extends
- ol.format.XMLFeature
Members
-
readProjection
Stability: experimental -
Read the projection from a GPX source.
- Source:
- gpxformat.js, line 437
Methods
-
readFeature
Stability: experimental -
Read the first feature from a GPX source.
Parameters:
Name Type Description sourceArrayBuffer | Document | Node | Object | string Source.
- Source:
- gpxformat.js, line 374
Returns:
Feature.
- Type
- ol.Feature
-
readFeatures
Stability: experimental -
Read all features from a GPX source.
Parameters:
Name Type Description sourceArrayBuffer | Document | Node | Object | string Source.
- Source:
- gpxformat.js, line 405
Returns:
Features.
- Type
- Array.<ol.Feature>
-
writeFeatures
Stability: experimental -
Encode an array of features in the GPX format.
Parameters:
Name Type Description featuresArray.<ol.Feature> Features.
- Source:
- gpxformat.js, line 812
Returns:
Result.
- Type
- ArrayBuffer | Node | Object | string
OpenLayers 3