Android - Polyline encoding algorithm?
android, google-maps
Solution
you should include the new googlemaps utils library for Android and then use PolyUtil:
PolyUtil.encode(latLngPath)
PolyUtil.decode(encodedPath)
Problem
In my android project I have List of GeoPoints. I have a algorithm to decode the encoded polyline string. Can anyone help me for encoding the List of GeoPoints to polyline string in-order to save this in Shared Preferences.