From cc55a99c98fdb7d0b90343b22e7ed2fc0af96223 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Thu, 21 Nov 2024 18:18:58 +0300 Subject: [PATCH] Add filters to map layer menu buttons --- app/assets/javascripts/leaflet.layers.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/leaflet.layers.js b/app/assets/javascripts/leaflet.layers.js index 6e6e316abe..e130779515 100644 --- a/app/assets/javascripts/leaflet.layers.js +++ b/app/assets/javascripts/leaflet.layers.js @@ -15,6 +15,7 @@ L.OSM.layers = function (options) { .appendTo(baseSection); var mapContainer = $("
") + .css("--dark-mode-map-filter", layer.options.darkFilter) .appendTo(buttonContainer); var input = $("")