EfficiencyJunky / BikeLapse

A webapp built with leaflet.js and mapbox meant to make it easy to catalog bike rides that have been recorded with the DistanceLapse Video Creation System and Strava
4 stars 0 forks source link

Stop rounding numbers when calculating ride Stats #41

Closed EfficiencyJunky closed 4 years ago

EfficiencyJunky commented 4 years ago

In the "geojson-tools.js" file, we're currently rounding all numbers that we return and also rounding the elevation delta when comparing. This is probably causing some inconsistencies and should be avoided. Rounding should be done on the display side, not on the calculation side

EfficiencyJunky commented 4 years ago

completed in commit https://github.com/EfficiencyJunky/BikeLapse/commit/ccd9d0867346b81a595fb88142778158988ea42a