On Apr 23, 1:06 pm, stevensj2 <[email protected]> wrote:
> Hi,
>
> I'm working on a project where I will be interpolating isolines for
> approximate drive times to various locations in the US from a defined
> point.
>
> I've done this locally, physically clicking the map to acquire the lat/
> lon of numerous points and the time it takes to drive to each of them.
>
> I'm now scaling my project to a larger geographical extent, and the
> number of points has increased to a number (about 1000) that is beyond
> clicking and writing down.
>
> What I would like to do is the following:
> - Create a "control" point at a fixed location (done)
> - Generate 1000 points at random locations within the bounds of my map
> (done)
> - Create an array or other way to acquire the time to drive from the
> control point to each of the 1000 sample points, returning in HTML the
> lat, lon, and drive time of each point.
>
> Creating the actual map has been no problem, but I'm having trouble
> determining if this is possible using GDirections and getSummaryHtml
> (), or some other method.

Sure it is possible.  Just beware, the GDirections class has a quota
and a speed limit which will make 1000 GDirections calls take a long
time.
You could possibly speed up the process somewhat by calling
loadFromWaypoints, which allows 25 waypoints per call.

See Mike Williams' tutorial for an explanation of the issues:
Part 17 Geocoding multiple addresses
http://econym.org.uk/gmap/geomulti.htm

  -- Larry

>
> Any help or further guidance would be much appreciated. Thanks in
> advance!
--~--~---------~--~----~------------~-------~--~----~
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