Don't need to stash ICAO on the marker now that we're binding the event listener function directly.
This commit is contained in:
parent
b4de83090d
commit
86b59e7bd9
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue