This has nothing to do with Android. One would imagine that, somewhere
out on the Internet, there is a support resource for Google Maps API.

On Thu, Oct 13, 2011 at 2:06 PM, Goutom <[email protected]> wrote:
> Hi
> I want to get direction between two geopoints and using web service
> describes in this
> link http://code.google.com/apis/maps/documentation/directions/ .
> Using this url  (
>  http://maps.googleapis.com/maps/api/directions/json?origin=23.884228857253493,90.40052890777588&destination=23.738054845909193,90.39518594741821&alternatives=false&sensor=false
>
>  )
>  I got the json file . There is portion:
> {
>                      "distance" : {
>                         "text" : "2.5 km",
>                         "value" : 2462
>                      },
>                      "duration" : {
>                         "text" : "5 mins",
>                         "value" : 316
>                      },
>                      "end_location" : {
>                         "lat" : 23.757390,
>                         "lng" : 90.399010
>                      },
>                      "html_instructions" : "Turn
> \u003cb\u003eleft\u003c/b\u003e onto \u003cb\u003eShahed Tazuddin Ahmed
> Sharani\u003c/b\u003e",
>                      "polyline" : {
>                         "points" :
> "khcpCu{vfPjCWxAE`C]\\E`@EhBYxAUhA[hA_@fA]b@Yt@c@~@k@pBsAx@m@bEsBd@Gz@Et@K~FC`Ed@p@HdGl@fGn@`In@~CZbGh@fGj@hGh@lFf@bFh@"
>                      },
>                      "start_location" : {
>                         "lat" : 23.778780,
>                         "lng" : 90.39819000000001
>                      },
>                      "travel_mode" : "DRIVING"
>                   },
>
> If I draw all the start point and end point then it dose not give me the
> smooth direction. can u describe the portion:
>  "polyline" : {
>                         "points" :
> "khcpCu{vfPjCWxAE`C]\\E`@EhBYxAUhA[hA_@fA]b@Yt@c@~@k@pBsAx@m@bEsBd@Gz@Et@K~FC`Ed@p@HdGl@fGn@`In@~CZbGh@fGj@hGh@lFf@bFh@"
>                      },
> How can I decode "points"  and what is these points?
> waiting to hear from you.
> Thanks in advance.
> Regards
> Goutom
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 4.0 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to