')
+ .attr('class', 'section overlay-layers')
+ .appendTo($ui);
+
+ $('
')
+ .text(I18n.t('javascripts.map.layers.overlays'))
+ .attr("class", "deemphasize")
+ .appendTo(overlaySection);
+
+ var list = $('
')
+ .appendTo(overlaySection);
- toggleLayers: function (e) {
- e.stopPropagation();
- e.preventDefault();
+ function addOverlay(layer, name) {
+ var item = $('- ')
+ .appendTo(list);
- var controlContainer = $('.leaflet-control-container .leaflet-top.leaflet-right');
+ var label = $('