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:
parent
33eb0d7e31
commit
112ee9266c
1 changed files with 1 additions and 0 deletions
|
@ -191,6 +191,7 @@ class Trace < ActiveRecord::Base
|
|||
if first
|
||||
f_lat = point['latitude']
|
||||
f_lon = point['longitude']
|
||||
first = false
|
||||
end
|
||||
|
||||
tp = Tracepoint.new
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue