X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fd8f35309d6149f3c4924dcf95beca8ec3bbf520..8c82be0537e1bbdcbd7f20d5f26deaae09774281:/app/assets/javascripts/leaflet.layers.js
diff --git a/app/assets/javascripts/leaflet.layers.js b/app/assets/javascripts/leaflet.layers.js
index c506c951e..443e47e76 100644
--- a/app/assets/javascripts/leaflet.layers.js
+++ b/app/assets/javascripts/leaflet.layers.js
@@ -120,10 +120,8 @@ L.OSM.layers = function(options) {
var list = $('
')
.appendTo(overlaySection);
- function addOverlay(layer, name, minZoom) {
- var refName = name.split(' ').join('_').toLowerCase();
+ function addOverlay(layer, name, maxArea) {
var item = $('- ')
- .attr('class', refName)
.tooltip({
placement: 'top'
})
@@ -132,15 +130,18 @@ L.OSM.layers = function(options) {
var label = $('