From 86b59e7bd96d79c6fa12ea9251edbafc360877fd Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Wed, 7 Jan 2015 21:15:56 +0000 Subject: [PATCH] Don't need to stash ICAO on the marker now that we're binding the event listener function directly. --- public_html/planeObject.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/public_html/planeObject.js b/public_html/planeObject.js index 4c834f1..be17179 100644 --- a/public_html/planeObject.js +++ b/public_html/planeObject.js @@ -294,9 +294,6 @@ PlaneObject.prototype.updateMarker = function(moved) { visible: true }); - // This is so we can match icao address - this.marker.icao = this.icao; - // Trap clicks for this marker. google.maps.event.addListener(this.marker, 'click', selectPlaneByHex.bind(undefined,this.icao)); }