Pavement layer non interactive

This commit is contained in:
portree_kid 2020-01-22 21:58:09 +01:00
parent 7fe712c94b
commit f2a357780b

View File

@ -69,7 +69,7 @@ var scanMethods = {
var runwayPoly = new L.Polygon(runwayPoints); var runwayPoly = new L.Polygon(runwayPoints);
runwayPoly.setStyle({color: 'grey'}); runwayPoly.setStyle({color: 'grey', interactive: false});
runwayPoly.addTo(layerGroup); runwayPoly.addTo(layerGroup);
var runwayLine = new L.Polyline([point1,point2]); var runwayLine = new L.Polyline([point1,point2]);
@ -88,7 +88,7 @@ var scanMethods = {
if(typeof currentFeature !== 'undefined') if(typeof currentFeature !== 'undefined')
{ {
var taxiwayPoly = new L.Polygon(currentFeature); var taxiwayPoly = new L.Polygon(currentFeature);
taxiwayPoly.setStyle({color: 'grey'}); taxiwayPoly.setStyle({color: 'grey', interactive: false});
taxiwayPoly.addTo(layerGroup); taxiwayPoly.addTo(layerGroup);
} }
return [[]]; return [[]];