Crate polyline_codec

Source

Structs§

InvalidEncodingError
InvalidLatLngError
LatLng
LatLng is a tuple composed of latitude and longitude.

Traits§

Point
Point contains accessors for a coordinate’s latitude (lat) and longitude (lng).

Functions§

decode
Decodes an encoded path string into a sequence of LatLngs.
encode
Polyline encodes an array of objects having lat and lng properties.