         timestamp: Date.now()
         hdop: -1
         web: true
+    socket.emit 'new geo', geoJson
     lastSentPosition = position
+    addGeoms geoJson
 
 getGeos = (query, callback) ->
   $.ajax

    onPosition(position)

socket = io.connect '/'
socket.on 'new geo', (geoJson) ->
  console.log "Got geo from car.", geoJson
  addGeoms geoJson

tracking = no
deviceName = localStorage.getItem 'device-name'

          lng1.toFixed(4) is lng2.toFixed(4))
onPosition = ->
_geolocation = (callback) ->
  navigator.geolocation.getCurrentPosition callback, (err) ->
    console.error "Error when retrieving location '#{err.message}'."
geolocation = (callback) ->
  if lastPosition? then callback lastPosition else _geolocation callback
cachePosition = ->
