urschrei / polyline

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

polyline

Crates.io Build Status

Google Encoded Polyline encoding & decoding in Rust.

A Note on Coordinate Order

This crate uses Coordinate and LineString types from the geo-types crate, which encodes coordinates in (x, y) order. The Polyline algorithm and first-party documentation assumes the opposite coordinate order. It is thus advisable to pay careful attention to the order of the coordinates you use for encoding and decoding.

Documentation

About

License:Apache License 2.0


Languages

Language:Rust 99.1%Language:JavaScript 0.9%