java - Google maps getdirections api - polyline -
i using google maps getdirections api. use json type webservice info google webservice. here sample json output webservice. using java process result. don't know how read polyline data. have given snippet of polyline object below.
"polyline": { "points": "a~l~fjk~uowhjy@p", "levels": "b?b" },
the documentation says
polyline contains object holding array of encoded points , levels represent approximate (smoothed) path of resulting directions.
how read encoded data in java. i need decode both points , levels. sample java code snippet me lot. thanks.
Comments
Post a Comment