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