From 7ed77dcd3f09755f983ca901a92df9198af4dc62 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 12 Jun 2025 11:48:40 +0200 Subject: Add comment/warning. --- main.js | 1 + 1 file changed, 1 insertion(+) (limited to 'main.js') diff --git a/main.js b/main.js index 52d27da..ec09863 100644 --- a/main.js +++ b/main.js @@ -4545,6 +4545,7 @@ const [mapLayers, featureOverlayLayer] = (function() { declutter: false, visible: isVisible(k), style: function(feature, resolution) { + /* WARN: very hot code path! */ const properties = feature.getProperties(); if (age_filter_settings.active) { /* TODO avoid doing this checks for each feature; instead, set up a -- cgit v1.2.3