       @map = L.mapbox.map('map', window.GLOBALS.MAP_ID, {
         zoomControl: false
       }).setView([@position.coords.latitude, @position.coords.longitude], 14)
+      console.log @map
 
       # Disable drag and zoom handlers
       @map.dragging.disable()

        })

    changeSectionSearch: (event) ->
      @section = event.currentTarget.value
      @venues = []
      @getVenues()
      @render()

    _cancelMap: false

    events:
      "change select": "changeSectionSearch"
      "click .venue": "checkInToVenue"

    # Get the relevant local venues for this user while we render the template.
    initialize: ->
      _.bindAll this

      $('body').append FullModalTemplate {
        element: @options._el
