88 lines
2.4 KiB
HTML
88 lines
2.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>JSDoc: Source: gpxResult.js</title>
|
|
|
|
<script src="scripts/prettify/prettify.js"> </script>
|
|
<script src="scripts/prettify/lang-css.js"> </script>
|
|
<!--[if lt IE 9]>
|
|
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
<![endif]-->
|
|
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
|
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="main">
|
|
|
|
<h1 class="page-title">Source: gpxResult.js</h1>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<article>
|
|
<pre class="prettyprint source"><code>/**
|
|
* Constructor for GpxResult
|
|
* @class
|
|
* @classdesc Holds the results of the gpx parse
|
|
* @param {GpxMetaData} metadata The metadata associated with the gpx trace
|
|
* @param {Array.<GpxWaypoint>} waypoints An array of waypoints.
|
|
* @param {Array.<GpxRoute>} routes An array of routes.
|
|
* @param {Array.<GpxTrack>} tracks An array of tracks.
|
|
*/
|
|
function GpxResult(metadata, waypoints, routes, tracks) {
|
|
|
|
metadata = metadata || null;
|
|
waypoints = waypoints || null;
|
|
routes = routes || null;
|
|
tracks = tracks || null;
|
|
|
|
|
|
this.__defineGetter__("metadata", function() {
|
|
return metadata;
|
|
});
|
|
|
|
this.__defineGetter__("waypoints", function() {
|
|
return waypoints;
|
|
});
|
|
|
|
this.__defineGetter__("routes", function() {
|
|
return routes;
|
|
});
|
|
|
|
this.__defineGetter__("tracks", function() {
|
|
return tracks;
|
|
});
|
|
}
|
|
|
|
|
|
|
|
module.exports = GpxResult;
|
|
</code></pre>
|
|
</article>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<nav>
|
|
<h2><a href="index.html">Index</a></h2><h3>Modules</h3><ul><li><a href="module-geomutils.html">geomutils</a></li><li><a href="module-gpx-parse.html">gpx-parse</a></li></ul><h3>Classes</h3><ul><li><a href="GpxExtent.html">GpxExtent</a></li><li><a href="GpxMetaData.html">GpxMetaData</a></li><li><a href="GpxResult.html">GpxResult</a></li><li><a href="GpxRoute.html">GpxRoute</a></li><li><a href="GpxTrack.html">GpxTrack</a></li><li><a href="GpxWaypoint.html">GpxWaypoint</a></li></ul><h3><a href="global.html">Global</a></h3>
|
|
</nav>
|
|
|
|
<br clear="both">
|
|
|
|
<footer>
|
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Wed Aug 13 2014 09:19:33 GMT+0100 (BST)
|
|
</footer>
|
|
|
|
<script> prettyPrint(); </script>
|
|
<script src="scripts/linenumber.js"> </script>
|
|
</body>
|
|
</html>
|