encode

open fun encode(path: List<LatLng>): String

Encodes a sequence of LatLngs into an encoded path string.