new GPXExtended(options)
Formats/GPX.js, line 29
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | Object |
Options
|
Extends
- ol.format.GPX
Methods
-
readExtensions(feature, node)
Formats/GPX.js, line 226 -
Callback to read extensions from options : readExtensions
Name Type Description feature * ...
node * ...
-
readFeatures(source, options){Array.<ol.Feature>}
Formats/GPX.js, line 82 -
Read Extend Styles for Features.
This function overloads ol.format.GPX.readFeatures ...Name Type Description source Document | Node Source.
options olx.format.ReadOptions optional options.
- See:
-
- ol.format.GPX.prototype.readFeatures
-
readRootExtensions(key){Object}
Formats/GPX.js, line 278 -
...
Name Type Description key * ...
- TODO
-
-
writeFeatures(features, options){String}
Formats/GPX.js, line 131 -
Write Extend Styles for Features.
This function overloads ol.format.GPX.writeFeatures ...Name Type Description features Array.<Object> Features.
options Object Options.
- See:
-
- ol.format.GPX.prototype.writeFeatures
Returns:
or null.
-
writeRootExtensions_(doc, extensions, xml)
Formats/GPX.js, line 323 -
...
Name Type Default Description doc * ...
extensions * ...
xml Boolean false optional write tag xml or json