Skip to content

Commit

Permalink
Add filters to map layer menu buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonKhorev committed Dec 9, 2024
1 parent f660a1d commit cc55a99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/assets/javascripts/leaflet.layers.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ L.OSM.layers = function (options) {
.appendTo(baseSection);

var mapContainer = $("<div class='position-absolute top-0 start-0 bottom-0 end-0 z-0 bg-body-secondary'>")
.css("--dark-mode-map-filter", layer.options.darkFilter)
.appendTo(buttonContainer);

var input = $("<input type='radio' class='btn-check' name='layer'>")
Expand Down

0 comments on commit cc55a99

Please sign in to comment.