1. According to the Terms of Service, you need to show the GDirections results on a map, which your page does not.
2. What do you mean by "distance made by highway"? The default is to use the fastest route, and that is by highway/freeway. If your intention is to calculate tolls, then the best you can do is to look for the text "toll road" in the returned results, but that will only be an approximation, because in some segments you have "partial toll road", and you don't know how much of that segment is a toll road. -- Marcelo - http://maps.forum.nu -- On Dec 28, 12:38 pm, Rafa Sala <[email protected]> wrote: > Hello friends ! > I'm making an online distance route calculator based on GoogleMaps > API. > I've almost found what I need but I must also find the total distance > that is made by highway. > You can test code here: > > http://www.areasoft.es/googlemapstest_en.html > > For example: > Input: Madrid - Paris > Output: 1.270 km - 12h 6 min > I'd also need Highway km > > Is it possible? > > Thanks -- You received this message because you are subscribed to the Google Groups "Google Maps API" 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/google-maps-api?hl=en.
