Move Options to ol/format/GPX

This commit is contained in:
Tim Schaub
2018-03-11 22:23:18 -06:00
parent 2091629922
commit bb816de768
3 changed files with 13 additions and 31 deletions

View File

@@ -5,25 +5,6 @@
let olx;
/**
* @typedef {{readExtensions: (function(ol.Feature, Node)|undefined)}}
*/
olx.format.GPXOptions;
/**
* Callback function to process `extensions` nodes.
* To prevent memory leaks, this callback function must
* not store any references to the node. Note that the `extensions`
* node is not allowed in GPX 1.0. Moreover, only `extensions`
* nodes from `wpt`, `rte` and `trk` can be processed, as those are
* directly mapped to a feature.
* @type {function(ol.Feature, Node)|undefined}
* @api
*/
olx.format.GPXOptions.prototype.readExtensions;
/**
* @typedef {{featureNS: (Object.<string, string>|string|undefined),
* featureType: (Array.<string>|string|undefined),