Round up the frame size for trace animations
This commit is contained in:
parent
bc70a475eb
commit
46e3d84674
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ module GPX
|
||||||
height = 250
|
height = 250
|
||||||
delay = 50
|
delay = 50
|
||||||
|
|
||||||
points_per_frame = num_points / nframes
|
points_per_frame = (num_points.to_f / nframes).ceil
|
||||||
|
|
||||||
proj = OSM::Mercator.new(min_lat, min_lon, max_lat, max_lon, width, height)
|
proj = OSM::Mercator.new(min_lat, min_lon, max_lat, max_lon, width, height)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue