               options = $.extend true, {}, @options.show.layerDefaults[layer.type], layer, parent: this
               renderedLayer = M.layer(layer, data, options)
               if renderedLayer and renderedLayer.valid()
-# Build layer group
+                # Build layer group
                 layerGroup = renderedLayer.buildLayerGroup(this, options)
                 layerGroup.name = layer.name
                 layerGroup.renderedLayer = renderedLayer

      else
        this.edition = L.geoJson(this.options.edit, {
          onEachFeature: (feature, layer) =>
#nested function cause geojson doesn't seem to pass binding context
            @onEachFeature(feature, layer)

          style: (feature) =>
            @featureStyling feature
        })

      #      this.edition.setStyle this.options.editStyle
      this.edition.addTo this.map
      this._refreshControls()
      this._saveUpdates()


    _refreshEditionLayerGroup: ->
      if this.edition?
        #remove overlay
        @layerSelector.removeLayer this.edition
        this.map.removeLayer this.edition
      if this.options.edit?
