To make a great application, we have to use quality ingredients. Placemark needed an encoder and decoder for the Google Encoded Polyline format, so we decided to create a freshened up module for it. It's based off of the Mapbox module (originally from the same author as Placemark), but ready for today's applications. Check out the @placemarkio/polyline module.
- Included, robust TypeScript types with embedded documentation
- ESM & UMD entry points
- Standardized longitude, latitude order in all functions
- Reduced dependencies for a lighter install
- Active maintenance
You can install @placemarkio/polyline, use it to encode and decode Google Encoded Polylines and GeoJSON back and forth. It's what Placemark uses for this conversion, when you import and export features. Check it out!