X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3689798a04194d5098ce3dc84aab7967b27b7239..5853f81ee88a8a85ab35a78ea0ba288e638a6564:/app/assets/javascripts/leaflet.layers.js?ds=sidebyside
diff --git a/app/assets/javascripts/leaflet.layers.js b/app/assets/javascripts/leaflet.layers.js
index fd493ee32..443e47e76 100644
--- a/app/assets/javascripts/leaflet.layers.js
+++ b/app/assets/javascripts/leaflet.layers.js
@@ -120,35 +120,60 @@ L.OSM.layers = function(options) {
var list = $('
')
.appendTo(overlaySection);
- function addOverlay(layer, name) {
+ function addOverlay(layer, name, maxArea) {
var item = $('- ')
+ .tooltip({
+ placement: 'top'
+ })
.appendTo(list);
var label = $('