       @
 
     initTriggers: ->
-      @on 'location:submit', @locationSubmit
-      @on 'location:geolocate', @locationGeolocate
+      @on 'location:submit', _.throttle(@locationSubmit, @options.inputDelay)
+      @on 'location:geolocate', _.throttle(@locationGeolocate, @options.geolocateDelay)
+      @on 'location:change', @locationChange
       @on 'location:found', @locationFound
 
     onRender: ->

      'submit form': 'location:submit'
      'click #location-submit': 'location:submit'
      'click #geolocate': 'location:geolocate'

    initialize: ->
      @initTriggers()


  class LocationFormView extends BaseItemView

    options:
      inputDelay: 5000
      geolocateDelay: 4000

    template: template

    el: '#location-form'

    ui:
      form: 'form'
      row: '.row'
      input: '#location'
      geolocate: '#geolocate'
      play: '#location-submit'
