If you add a lot of intermediate points, the GDirections results will
give you the estimated driving time for each portion of the route.
Based on the time and mileage you can calculate the speed you're
driving at, which is what really matters regarding fuel consumption.

--
Marcelo - http://maps.forum.nu
--


On Jan 8, 9:24 pm, Johanm <[email protected]> wrote:
> Hi there,
> I'm working on an app that calculates driving distance and uses cars
> average mpg. As you probably know a car will use more gas in a city
> than on the highway.
> Is there a way to distinguish between driving between two points in
> say Los Angeles
> and driving from LA to San Diego which will require quite a bit of
> both.
> Right now i just use the distance but If possible i'd like to make it
> more intelligent and accurate.
>
> Thanks,
> Johan
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to