I want to allow my users to map their own routes by clicking on a
map.  I'm using a polyline and that is working fine.  To enable
quicker input I want the user to be able to select a "follow road"
checkbox to get the DirectionsRenderer to render from the current
point to the next click they click on.  The only problem is that the
DirectionsRenderer fills in a whole bunch of points that aren't
included in the 'steps' array (to follow the road precisely).

To allow my idea to work, I need to add the polyline I've created
manually to the output from the DirectionsRenderer.  The only problem
is that the 'steps' info is not actually the detailed polyline info so
if I use the 'steps' array to add points to my own polyline, the line
does not follow the road.  Also, I can't see how to change the options
(line colour, width, opacity) of the line created by the
DirectionsRenderer and to leave off the markers (I'll put my own on
the map).

Cheers,
Monoloco

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