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.

i think want: http://www.geekyblogger.com/2010/12/decoding-polylines-from-google-maps.html


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -