heremaps / flexible-polyline

Flexible Polyline encoding: a lossy compressed representation of a list of coordinate pairs or triples
MIT License
89 stars 76 forks source link

Fixed, delay division to after sum of coordinates. #84

Closed haifeng2013 closed 2 months ago

haifeng2013 commented 2 months ago

Delay division of coordinates to avoid precision loss or accumulated/addition division error