     id = e.currentTarget.id
     @model.set(id, $("##{id}").prop('checked'))
 
-  # These three methods below will be configured to launch various 
+  # These three methods below will be configured to launch various
   # editors in future phases
   signalEditor: (e) ->
     e.preventDefault()


  # creates a hash of values taken from the model for the html template
  _getTemplateData: (model) ->
      name: model.get('name'),
      description: model.get('description'),
      lat: model.get('position').get('point')[0].get('lat')
      lng: model.get('position').get('point')[0].get('lng')
      elevation: model.get('position').get('point')[0].get('elevation')
      lock: if model.has('lock') and model.get('lock') then 'checked' else ''

  # these are callback events for various elements in the interface
  # This is used to save the name, type and description when focus is 
  # lost from the element
  save: (e) ->
    id = e.currentTarget.id
    @model.set(id, $("##{id}").val())

  # This is used to save the latitude, longitude and elevation when focus is 
  # lost from the element
  saveGeo: (e) ->
    id = e.currentTarget.id

    super options

    #set selected type element
    elem = _.filter($(@$el[0]).find("select option"), (item) =>
              $(item).val() is options.model.get('type')
            )
    $(elem[0]).attr('selected', true)
