polylines.cr v0.2.0 Release Notes

Release Date: 2020-07-22 // over 1 year ago
  • 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}])
    

Previous changes from v0.1.0

  • Already a working module with both .encode and .decode available and working.