How Can I Get Zoom Levels To Decode A Polyline From Google Maps Directions Api?
Following this polyline decoder class from @Kenny: int[] decodedZoomLevels = PolylineDecoder.decodeZoomLevels(levels); GeoPoint[] gPts = PolylineDecoder.decodePoints(points, decode
Solution 1:
ZoomLevel is econded inside the polyline "string". In the Kenny's class just give as 2nd parameter to "decodePoints" method the size of the polyline string.
Look at the bottom of this 1 and I wonder you will understand more.
Post a Comment for "How Can I Get Zoom Levels To Decode A Polyline From Google Maps Directions Api?"