Linked Questions

Popular Questions

I found some examples where only 2 points where used, origin and destiny. Its working.But i want to make a route with more than one destiny.

For example: origin --> destiny1 --> destiny2 --> destiny3 --> origin.

To build the 2 points route i send this url.

Some code:

//Building the parameters to the web service
String parameters = str_origin+"&"+str_dest+"&"+sensor;
String url = "https://maps.googleapis.com/maps/api/directions/"+output+"?"+parameters;

I would like to know if i can add more destinies to the parameters. Something like:

String parameters = str_origin+"&"+str_dest+"&"+str_dest2+"&"+sensor;

Thanks all for the support.

Related Questions