Make sure the recorded first point for a trace really is the first

point and not the last. Closes #709.
This commit is contained in:
Tom Hughes 2008-04-27 12:27:46 +00:00
parent 33eb0d7e31
commit 112ee9266c

View file

@ -191,6 +191,7 @@ class Trace < ActiveRecord::Base
if first
f_lat = point['latitude']
f_lon = point['longitude']
first = false
end
tp = Tracepoint.new