   filterNodes: (()->
     self = @
 
-    @get('map').forEach (node)->
+    @get('controllers.map').forEach (node)->
       node.set('isVisible', self.get('statusFilters').contains(node.get('wheelchair')))
-  ).observes('map.@each.wheelchair', 'statusFilters.@each')+  ).observes('controllers.map.@each.wheelchair', 'statusFilters.@each')
        # Extra logic if all status filters are set and one is clicked: deactivate the other filters
        statusFilters.clear()
        statusFilters.addObject(wheelchair)
        @_extraFilter = true
      else
        if statusFilters.contains(wheelchair)
          statusFilters.removeObject(wheelchair)
        else
          statusFilters.addObject(wheelchair)

  statusFiltersDidChange: (()->
    $.cookie('last_status_filters', JSON.stringify(@get('statusFilters')))

Wheelmap.ToolbarController = Ember.Controller.extend
  needs: 'map'
  statusFilters: ['yes', 'limited', 'no', 'unknown']
  _extraFilter: false # Flag for executing special status filter behavior only once

  init: ()->
