 
         overlays[layer.name] = L.tileLayer(layer.url, opts)
 
-      legendControl = new L.control(position: "bottomright")
-      legendControl.onAdd = (map) ->
+      @controls.legendControl = new L.control(position: "bottomright")
+      @controls.legendControl.onAdd = (map) ->
         L.DomUtil.create('div', 'leaflet-legend-control')
-      @map.addControl legendControl
+      @map.addControl @controls.legendControl
+
+      L.DomUtil.addClass(@controls.legendControl.getContainer(), 'leaflet-hidden-control')
+
 
       $('.leaflet-legend-control').on 'click', () ->
         $(this).find('#legend-activity').toggleClass('minified')

      this._refreshView()
      this._refreshControls()

    _destroy: ->
      @mapElement.remove()



    # Displays all given controls
    _refreshControls: ->
      if @controls?
        for name, control of @controls
          @map.removeControl(control)
      @controls = {}
      console.log "Refresh controls...", @options.controls
      unless @options and @options.controls?
        console.log "No controls..."
