On Dec 18, 5:53 am, Neil <[email protected]> wrote:
> Hi,
>
> I need to highlight different bits of road on my map in different
> colours.
>
> Does google maps 'know' where specific roads are and is this info
> accessibile to developers?

The GDirections engine can return polylines along roads.

>
> Otherwise one would need the lats/longs for zillions of points along
> the road, say every 10 yards and do a manual dot-to-dot. Which would
> be a real pain.
>
> What do you think? It seems that the info is available as it can work
> out routes between A and B which use the roads.
>
> Thoughts are hugely appreciated!

I did this (Interstate 5 through California):
http://www.geocodezip.com/GenericMapBrowser.asp?filename=I5Polyline.xml
http://www.geocodezip.com/GenericMapBrowser.asp?filename=I5Polyline_encoded.xml

By capturing the results of GDirections.

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