Encoding class
September 29, 2018 ยท View on GitHub
API Reference
Static method
-
decodePath(encoded, precision?) :orange_book:
Decodes an encoded path string into a sequence of LatLngs.
Params Type Details encoded string an encoded path string precision number (optional) default: 5 :arrow_right: Returns
ILatLng[] -
encodePath(path) :orange_book:
Encodes a sequence of LatLngs into an encoded path string.
Params Type Details path ILatLng[] | BaseArrayClass[ILatLng] a sequence of LatLngs :arrow_right: Returns
string