An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# @placemarkio/polyline

[![npm version](https://badge.fury.io/js/@placemarkio%2Fpolyline.svg)](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/)