Google Maps API for Flash – Encoding a polyline.

If you’ve built an application using the Google Maps Api for Flash and taken advantage of the Directions class then the next thing you’ll want to do is store that route. You could store the LatLng of the first point and the end point and then re-submit a request for the same directions; or you could save the actual Polyline as an encoded string.

Continue reading