This library simplifies the process of using compressed geometry with maplibre-gl-js in JavaScript applications and with maplibre-native in Kotlin and Swift applications.
Location-based service providers sometimes use variations of the Encoded Polyline Algorithm Format to reduce the response size for APIs that can return large arrays of coordinates, such as routing and isoline APIs. The utility methods in this library compresses the data and decompresses into GeoJSON that can be directly rendered in MapLibre.
Documentation for each supported language can be found here:
See CONTRIBUTING for more information.
The best way to interact with our team is through GitHub. You can open an issue and choose from one of our templates for bug reports or feature requests. If you have a support plan with AWS Support, you can also create a new support case.
We welcome community contributions and pull requests. See CONTRIBUTING for information on how to set up a development environment and submit code.
This library is licensed under the MIT-0 License. See the LICENSE file.