Hi Julio! How are you doing?
Got success?
I was just seeking for this feature on Google Maps API last year
but... GDirections v2 has a class method called getNumRoutes() but it
seems to return 1 for all geocodes given, proving that this feature
wasn't implemented on release 2 or, for a meanwhile, not for our
country (just tried with brazilian geocodes ).. maybe on release 3 ..
please share with us your experience!!!

E ai, Júlio, algum sucesso?
ano passado também procurava algo parecido.. Apesar da versão 2
disponibilizar na classe um método chamado 'getNumRoutes()' em
qualquer situação ele retorna apenas 1, confirmando a teoria de que
esta feature não estaria implementada na versão 2. (pelo menos para o
nosso país.. nao testei com outras localidades)
Também não conhecia essa versão 3... espero que tenha tipo sucesso e
que compartilhe aqui com todos!!!!

Abraço,

On Feb 26, 2:38 pm, Julio Santana <jucsant...@gmail.com> wrote:
> Andrew Leach,
>
> Thanks for the reply, had not read anything from version 3 api. Just
> read the version 2 of the possibility of recovering a collection of
> objects routes, but there was no indication of how. Now I know where
> to look. Grateful for your support. att. Julio Santana
>
> Obrigado pela resposta, ainda não havia lido nada da versão 3 da api.
> Apenas li na versão 2 da possibilidade de recuperar uma coleção de
> objetos rotas, mas não havia indicação de como. Agora sei onde
> procurar. Muito grato pelo seu apoio.
>
> att.
>
>  Julio Santana
>
> On 25 fev, 06:56, Andrew Leach <andrew.leac...@googlemail.com> wrote:
>
>
>
> > On Feb 25, 2:19 am, Julio Santana <jucsant...@gmail.com> wrote:
>
> > > Hello everybody,
>
> > > I'm trying to recover through the object GDirections, all routes of a
> > > route.
>
> > > I did the code below as a test, but I'm only getting 1 route to
> > > retrieve the itinerary provided. However, when I query the web service
> > > from google maps, I realize that there are other routes to the route.
>
> > Alternative routes are not provided by the Version 2 API. It does
> > appear that the Version 3 API has "provideTripAlternatives" and this
> > may work; but Version 3 is very different and even has its own 
> > Group.http://groups.google.com/group/google-maps-js-api-v3/

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to google-maps-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to