From f2a357780b749932d4646fcb4af37c517e59c215 Mon Sep 17 00:00:00 2001 From: portree_kid Date: Wed, 22 Jan 2020 21:58:09 +0100 Subject: [PATCH] Pavement layer non interactive --- src/renderer/loaders/pavement_loader.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/loaders/pavement_loader.js b/src/renderer/loaders/pavement_loader.js index 433e8bf..0a20253 100644 --- a/src/renderer/loaders/pavement_loader.js +++ b/src/renderer/loaders/pavement_loader.js @@ -69,7 +69,7 @@ var scanMethods = { var runwayPoly = new L.Polygon(runwayPoints); - runwayPoly.setStyle({color: 'grey'}); + runwayPoly.setStyle({color: 'grey', interactive: false}); runwayPoly.addTo(layerGroup); var runwayLine = new L.Polyline([point1,point2]); @@ -88,7 +88,7 @@ var scanMethods = { if(typeof currentFeature !== 'undefined') { var taxiwayPoly = new L.Polygon(currentFeature); - taxiwayPoly.setStyle({color: 'grey'}); + taxiwayPoly.setStyle({color: 'grey', interactive: false}); taxiwayPoly.addTo(layerGroup); } return [[]];