hansemannn / titanium-googlemaps

🗺 Use the Google Maps SDK in Titanium
Other
87 stars 26 forks source link

Polyline with encoded string #106

Closed oakleaf closed 6 years ago

oakleaf commented 6 years ago

Hello, Im not sure if this works but I'd like to be able to use an encoded polyline string instead of points. Is this something nasty to do? Maybe it's already doable?

hansemannn commented 6 years ago

To decode the polyline points, use the maps.decodePolylinePoints(points) utility method or this utility.