Don't need to stash ICAO on the marker now that we're binding the event listener function directly.

This commit is contained in:
Oliver Jowett 2015-01-07 21:15:56 +00:00
parent b4de83090d
commit 86b59e7bd9

View file

@ -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));
}