     @updatePoint start, 'start' if start
     @updatePoint goal, 'goal' if goal
 
-    @edit = interactive
+    @editable = interactive
     @drag = null # what's being dragged, if anything
 
     $('body').on 'mouseup', @mouseup

    $el.find('button.reset').click =>
      $el.find('button.reset').hide()
      @annotations.reset()
      @map.edit = true

  update: (state) =>
    open = state.open

    squares.attr('class', (d, i) -> d[2])

  mousedown: (d, i) =>
    return unless @editable
    square = d3.select(d3.event.target)
    @drag = square.attr 'class'
    @mouseover d, i
    d3.event.preventDefault()

  mouseup: =>
    return unless @editable
    switch @drag
      when 'start'
        start = @grid.mapSelection.selectAll('rect.start')
