Reinstate selecting aircraft by clicking on their icons.

This commit is contained in:
Oliver Jowett 2016-07-02 17:11:33 +01:00
parent 90f5a7d4e3
commit fc95719f2e
2 changed files with 20 additions and 0 deletions
public_html

View file

@ -404,6 +404,7 @@ PlaneObject.prototype.updateMarker = function(moved) {
}
} else {
this.marker = new ol.Feature(new ol.geom.Point(ol.proj.fromLonLat(this.position)));
this.marker.hex = this.icao;
this.marker.setStyle(this.markerStyle);
PlaneIconFeatures.push(this.marker);