On Nov 17, 9:52 am, Peter demaria <[email protected]>
wrote:
> *Dear Google Maps Javascript API v3 Group,*
> I'm searching for a way to break the output of Googles Directions API for
> directions based on an Origin, Waypoints, and Destination into Mileage by
> US State.

Here's an example that shows you the mileage by county:
http://maps.forum.nu/v3/gm_directions.html

but the "magic" on the server side requires a database with spatial
capabilities.
Note that, as this is hosted on a shared server, the counties might
take a couple of seconds to appear on the right hand panel.

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






>
> I've done a lot of googling and looked through the documentation but I'm
> not seeing anything that looks like some kind of explicit object that I
> could use to calculate the mileage in a per-State way. Any thoughts?
>
> You would think that a Stateline would constitute some type of object, at
> least as a Point of Interest or a flag that would be available as a
> breakpoint.
>
> I've seen the manual approach, whereby you would manually place markers and
> then look at the segments, but I don't see this being a workable solution
> for a larger scale implementation, and I'd love to think there were a more
> dynamic approach.
>
> Any thoughts?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to