Document GPX geometry output types
This commit is contained in:
@@ -868,6 +868,8 @@ ol.format.GPX.GPX_SERIALIZERS_ = ol.xml.makeStructureNS(
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Encode an array of features in the GPX format.
|
* Encode an array of features in the GPX format.
|
||||||
|
* LineString geometries are output as routes (`<rte>`), and MultiLineString
|
||||||
|
* as tracks (`<trk>`).
|
||||||
*
|
*
|
||||||
* @function
|
* @function
|
||||||
* @param {Array.<ol.Feature>} features Features.
|
* @param {Array.<ol.Feature>} features Features.
|
||||||
@@ -880,6 +882,8 @@ ol.format.GPX.prototype.writeFeatures;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Encode an array of features in the GPX format as an XML node.
|
* Encode an array of features in the GPX format as an XML node.
|
||||||
|
* LineString geometries are output as routes (`<rte>`), and MultiLineString
|
||||||
|
* as tracks (`<trk>`).
|
||||||
*
|
*
|
||||||
* @param {Array.<ol.Feature>} features Features.
|
* @param {Array.<ol.Feature>} features Features.
|
||||||
* @param {olx.format.WriteOptions=} opt_options Options.
|
* @param {olx.format.WriteOptions=} opt_options Options.
|
||||||
|
|||||||
Reference in New Issue
Block a user