L.OSM.layers = function (options) { const control = L.OSM.sidebarPane(options, "layers", "javascripts.map.layers.title", "javascripts.map.layers.header"); control.onAddPane = function (map, button, $ui, toggle) { const layers = options.layers; const baseSection = $("
") .text(I18n.t("javascripts.map.layers.overlays")) .attr("class", "text-body-secondary small mb-2") .appendTo(overlaySection); const overlays = $("