From 8e359a8c698a241313a58e2295fea162846ff0d5 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 ce25ff20cb..6ccc6ce9ba 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 = $("")