Releases: BuonOmo/polylines.cr
Releases · BuonOmo/polylines.cr
Make it official
Improve performances and simplify API
Improve decoding by a x3 factor and encoding by a x5 factor 🚀.
Switch from the Location
structure to NamedTuple
. It is enough, and now the API can accept way more than just tuples:
Polylines.encode([{lat: 38.5, lng: -120.2}, {lat: 40.7, lng: -120.95}])
Polylines.encode([[38.5, -120.2], [40.7, -120.95]])
Polylines.encode([{38.5, -120.2}, {40.7, -120.95}])
First Release!
Already a working module with both .encode
and .decode
available and working.