 
   setActive: (e) ->
     @model.set "active", false
-    console.log @model.attributes
 
 
 

        max: new Date(maxDate).valueOf()
        slide: (event, ui) ->
          layer.setFilter (f) ->
            return new Date(f.properties.date).valueOf() > ui.value
    @sliderTemplate = _.template $("#eqTimeSlider").html()

  render: () ->
    $("#eq-time-slider-container").remove()
    @$el.prepend @sliderTemplate
    maxDate = @options.maxDate
    minDate = @options.minDate
