diff --git a/public_html/markers.js b/public_html/markers.js index 3b79c1b..e9207fa 100755 --- a/public_html/markers.js +++ b/public_html/markers.js @@ -50,19 +50,19 @@ var shapes = { size: [19,16] }, 'ground_emergency': { - svg: 'emergency_dark', + svg: 'emergency_dark', size: [6, 15] }, 'ground_service': { - svg: 'service_dark', + svg: 'service_dark', size: [6, 15] }, 'ground_unknown': { - svg: 'unknown_dark', + svg: 'unknown_dark', size: [6, 15] }, 'ground_fixed': { - svg: 'fixed_dark', + svg: 'fixed_dark', size: [12, 12] }, 'unknown': { diff --git a/public_html/planeObject.js b/public_html/planeObject.js index 6e81ffd..39e3c4d 100644 --- a/public_html/planeObject.js +++ b/public_html/planeObject.js @@ -337,7 +337,7 @@ PlaneObject.prototype.getAltitudeColor = function(altitude) { h = ColorByAlt.unknown.h; s = ColorByAlt.unknown.s; l = ColorByAlt.unknown.l; - } else if (this.altitude === "ground") { + } else if (altitude === "ground") { h = ColorByAlt.ground.h; s = ColorByAlt.ground.s; l = ColorByAlt.ground.l;