Bugfix geo-coordinate-parser

This commit is contained in:
portree_kid
2020-05-26 20:40:17 +02:00
parent 93d6328dea
commit 2a7c8a735f
6 changed files with 107 additions and 23 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ function stripSVG(fName) {
const airLinerSVG = stripSVG('Airplane_silhouette.svg');
const gaSVG = stripSVG('Black_aircraft_icon.svg');
L.AircraftMarker = L.Marker.extend({
L.ParkingAircraftMarker = L.Marker.extend({
options: {
zIndexOffset: 10000,
},
@@ -75,7 +75,7 @@ L.AircraftMarker = L.Marker.extend({
//Builds a marker for a ai or multiplayer aircraft
module.exports.default = function (latlng, options) {
return new L.AircraftMarker(latlng, options);
return new L.ParkingAircraftMarker(latlng, options);
}
/*