X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/254aaaf5fb2135a9f3f1b343331b4d5b3d94fe74..0b9bf8d816902f969bac5b522c18067ad06df445:/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 d40a1b603..443e47e76 100644
--- a/app/assets/javascripts/leaflet.layers.js
+++ b/app/assets/javascripts/leaflet.layers.js
@@ -114,40 +114,66 @@ L.OSM.layers = function(options) {
$('
')
.text(I18n.t('javascripts.map.layers.overlays'))
+ .attr("class", "deemphasize")
.appendTo(overlaySection);
var list = $('
')
.appendTo(overlaySection);
- function addOverlay(layer, name) {
+ function addOverlay(layer, name, maxArea) {
var item = $('- ')
+ .tooltip({
+ placement: 'top'
+ })
.appendTo(list);
var label = $('