Marcelo,
Not sure if you received my previous response (I'm new to google
groups).. the implementation you created was just about perfect.. The
only difference being that I would query for States instead of
counties, and I really don't even need to render a map (though it is a
nice touch). The elevation tracking for the trip is awesome by the
way.
Is it absolutely necessary to have a Spatial Database to produce this
kind of calculation? Is this something that is relative easy to
integrate with a php based site on a linux server running a mySQL
database?
I've since discovered PostGIS but am not familiar with it and am not
sure how I would shape my ajax request to produce the desired results
(the breakdown of mileage by state).
Appreciate the help!
PS. I will post code once I get something working.. but I have to say
I'm looking into the MapQuest API as a possible alternative
On Nov 17, 3:14 pm, Marcelo <
marcelo...@hotmail.com> wrote:
> On Nov 17, 9:52 am, Peter demaria <
peter.dema...@bluetonemedia.com>
> 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