               @map.addLayer(backgroundLayer) if layer.byDefault
 
           else
-            # no backgrounds, set defaults
+# no backgrounds, set defaults
             back = ['OpenStreetMap.HOT',"OpenStreetMap.Mapnik", "Thunderforest.Landscape", "Esri.WorldImagery"]
 
             baseLayers = {}

          console.log this.options.back
      this

    # Retuns data from a serie found with the given name
    _getSerieData: (name) ->
      if @options.show.series[name]?
        return @options.show.series[name]



        if already_exist is true
# Don't change the name if a different layer use this name
          $(e.currentTarget).closest('.leaflet-popup-content').find('.leaflet-popup-warning').removeClass 'hide'


