diff --git a/src/ol/format/gpxformat.js b/src/ol/format/gpxformat.js index fd4aa70a42..fabb0f6b72 100644 --- a/src/ol/format/gpxformat.js +++ b/src/ol/format/gpxformat.js @@ -71,15 +71,13 @@ ol.format.GPX.appendCoordinate_ = function(flatCoordinates, node, values) { parseFloat(node.getAttribute('lon')), parseFloat(node.getAttribute('lat'))); if ('ele' in values) { - flatCoordinates.push( - /** @type {number} */ (values['ele'])); + flatCoordinates.push(/** @type {number} */ (values['ele'])); delete values['ele']; } else { flatCoordinates.push(0); } if ('time' in values) { - flatCoordinates.push( - /** @type {number} */ (values['time'])); + flatCoordinates.push(/** @type {number} */ (values['time'])); delete values['time']; } else { flatCoordinates.push(0);