From 8c9308f1d30ab2b572312f79d61277ee2d922bdc Mon Sep 17 00:00:00 2001 From: jordi fita mas Date: Wed, 31 Jan 2024 15:02:20 +0100 Subject: [PATCH] Do not bring layer to front when highlighting a map accommodation This does nothing but bring useless work to the browser, that has to move the SVG group to the top for nothing, as the accommodations do not overlap anything else. --- web/static/map.js | 1 - 1 file changed, 1 deletion(-) diff --git a/web/static/map.js b/web/static/map.js index 978cc60..2a1541a 100644 --- a/web/static/map.js +++ b/web/static/map.js @@ -68,7 +68,6 @@ layer.setStyle({ color: '#ffe673', }); - layer.bringToFront(); } function resetHighlight(e) {