From 0a3b7e56a9223a2f428d2fd073b61fe9887c50d0 Mon Sep 17 00:00:00 2001 From: Peter Robins Date: Mon, 14 Mar 2016 16:56:23 +0000 Subject: [PATCH] Document GPX geometry output types --- src/ol/format/gpxformat.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ol/format/gpxformat.js b/src/ol/format/gpxformat.js index 0f9cc027cc..477fc66e38 100644 --- a/src/ol/format/gpxformat.js +++ b/src/ol/format/gpxformat.js @@ -868,6 +868,8 @@ ol.format.GPX.GPX_SERIALIZERS_ = ol.xml.makeStructureNS( /** * Encode an array of features in the GPX format. + * LineString geometries are output as routes (``), and MultiLineString + * as tracks (``). * * @function * @param {Array.} features Features. @@ -880,6 +882,8 @@ ol.format.GPX.prototype.writeFeatures; /** * Encode an array of features in the GPX format as an XML node. + * LineString geometries are output as routes (``), and MultiLineString + * as tracks (``). * * @param {Array.} features Features. * @param {olx.format.WriteOptions=} opt_options Options.