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 Nov 23, 2024
1 parent eaa8ed8 commit 8e359a8
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 8e359a8

Please sign in to comment.