                         deferred.resolve()
             deferred.promise()
         clearSelectedUnit: ->
+            @route.clear()
             @selectedUnits.each (u) -> u.set 'selected', false
             @_setSelectedUnits()
             @clearUnits all: false, bbox: false

        reset: () ->
            @_setSelectedUnits()
            @selectedPosition.clear()
            @units.reset []
            @services.reset []
            @selectedEvents.reset []

        clearUnits: (opts) ->
            # Only clears selected units, and bbox units,
            # not removed service units nor search results.
            @route.clear()
            if @searchResults.isSet()
                return
            if @services.isSet()
