https://github.com/placemark/polyline
encode and decode between polylines and geojson
https://github.com/placemark/polyline
geojson polyline polyline-decoder polyline-encoder
Last synced: 10 days ago
JSON representation
encode and decode between polylines and geojson
- Host: GitHub
- URL: https://github.com/placemark/polyline
- Owner: placemark
- License: mit
- Created: 2022-10-05T23:15:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-27T13:59:29.000Z (over 2 years ago)
- Last Synced: 2025-04-14T02:12:12.776Z (10 days ago)
- Topics: geojson, polyline, polyline-decoder, polyline-encoder
- Language: TypeScript
- Homepage: https://placemark.github.io/polyline/
- Size: 209 KB
- Stars: 13
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# @placemarkio/polyline
[](https://badge.fury.io/js/@placemarkio%2Fpolyline)
```
@placemarkio/polyline
```_polyline development is supported by 🌎 [placemark.io](https://placemark.io/)_
A maintained fork of the [Mapbox module](https://github.com/mapbox/polyline).
Differences:
- Written in TypeScript, with types provided.
- No dependencies.
- Always follows longitude, latitude order in all API endpoints.
polylines are, internally, latitude, longitude, but that is not
exposed to the user.## [📕 API Documentation](https://placemark.github.io/polyline/)