On Jan 1, 1:35 am, DiTieM <[email protected]> wrote: > > You mean something like this? > > I am facing the same problem as jh. In particular I would like to change > the start-end markers. > > The solution proposed by Larry do render the path and the markers by > himself. I dont want to > go in this line as I would like to use Google code for 2 reasons: > > 1) "draggable" path > > 2) update the path when dragging the markers too.
I did a couple of examples with draggable markers also: http://www.geocodezip.com/v3_directions_custom_icons_draggable.html http://www.geocodezip.com/v3_directions_custom_revgeo.html These were done before the "draggable directions" were added to the v3 API (the "draggable" path). It should be possible to combine the two. > > Adding the option of suppressMarkers to DirectionsRender options allows you > to define your markers, but does not recompute the path when you are dragging > them (I > still have to play with this, maybe it is as easy as capture the dragging > event and update the > directions). > > I think it should be easy for Google to enhance driving directions to allow > changing end/start markers and if possible, add an EventListener('click') on > a waypoint. > > Does it make sense? Should we file a bug? It is not a bug, but filing an enhancement request doesn't hurt. If there is enough interest (stars), it might get implemented. -- Lary -- 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.
