On Mar 19, 11:11 pm, Spodgy <[email protected]> wrote:
> Hi There,
>
> Apologies if this subject is covered in the general FAQs.
>
> I've just starting using the Google Maps V3 API. I'd like to write a
> page that centres in the middle of a scenic driving route, and
> highlights the roads (typically these will be circular style routes).
>
> I could work out the geometry manually, and draw lines over the map,
> but this could be time consuming, and the end result probably wouldn't
> look very professional!
>
> What I'd like to do would be to identify roads individual, and
> highlight them between two given geo points, completing the circle by
> feeding in the points of the sections of the roads involved.
>
> Can I harness the roads as an object model? If not, are there suitably
> artistic alternatives? :)
>
> Thanks
> Jim

If you are in the US, you can obtain shapefiles from the Bureau of
Transportation Statistics:

    http://www.bts.gov/publications/national_transportation_atlas_database/2009/

The BTS shapefiles are derrived from the US Census Department's Tiger
Line database but are much more user friendly.  The Tiger Line files
are much larger & lack some of the useful auxilliary information
provided by BTS.

I have a couple of demos based on BTS shapefiles.

See:

    http://www.polyarc.us

Specifically "Lake Michigan Shore" & "Pacific Coast Highway".

Also, "US Highways" is an unrealistic "torture test" to determine how
many polys cause a browser to crash.

I have never had much luck with the direction finder service.  It is
difficult to force it follow a particular route without adding a lot
of waypoints.  The practical limit on waypoints is approximately ten
even though the documentation claims 25.  It is due to a very verbose
GET URL which exceeds the length limit in some browsers.

-- 
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