/* Define GPS position class */

@@ -1,32 +1,675 @@
 /* 
-Define GPS position class */
+GPS position object */%0A%0APosition = function() %7B%0A  this.raw = '';            // full GPS location message as received from GPS tracker%0A  this.lat = -1.0;          // GPS latitude in Degree%0A  this.lng = -1.0;          // GPS longitude in Degree%0A  this.date = new Date();   // GPS datetime%0A  this.fix = false;         // GPS fix valid or not%0A  this.speed = %7B            // GPS Speed%0A    %22knots%22: 0.0,%0A    %22kmh%22: 0,%0A    %22mph%22: 0%0A  %7D;%0A  this.ele = 0;             // GPS elevation in m%0A  this.bearing = 0;         // GPS direction in degree 0..360%0A  %0A  this.imei = 0;            // GPS tracker IMEI%0A  this.event = '';          // GPS tracker event%0A%7D%0A%0Amodule.exports = Position;
 %0A

Update Position.js