X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d3e99bc8bd58533b9432518f8d0573995b8082b9..3cfcf18a59ecc759a43d24bea8f6be6e374a83bc:/app/assets/javascripts/leaflet.layers.js
diff --git a/app/assets/javascripts/leaflet.layers.js b/app/assets/javascripts/leaflet.layers.js
index b04216d26..bb00f716c 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 = $('