From: John Firebaugh Date: Tue, 3 Dec 2013 01:01:13 +0000 (-0800) Subject: Auto-uncheck the data and notes layers at low zoom X-Git-Tag: live~4563 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/cc57c65083528d7c9085a2121cea7650b2e9a794?ds=inline Auto-uncheck the data and notes layers at low zoom Reenable them when returning to high zoom in the same session. Fixes #592 --- diff --git a/app/assets/javascripts/leaflet.layers.js b/app/assets/javascripts/leaflet.layers.js index 7703529b8..bb00f716c 100644 --- a/app/assets/javascripts/leaflet.layers.js +++ b/app/assets/javascripts/leaflet.layers.js @@ -132,15 +132,18 @@ L.OSM.layers = function(options) { var label = $('