On Sep 22, 7:41 pm, JKurtock <[email protected]> wrote: > Is it possible to save a directionsResult after it has been dragged by > a user? > > Without dragging, one could save the start and end points, then re- > call the DirectionsRenderer and get the same route back. But when the > user drags the route, a "transitional waypoint" is added, and the > route is recalculated including that waypoint (apparently with > stopover:false). Is the position of that transitional waypoint > accessible? If it is, then all of the user waypoints, plus the > transitional waypoint, could be saved. The DirectionsRenderer would > (I assume) render the same directions based on ALL of those waypoints. > > Once could save EVERY "step" of the rendered direction, but if the > DirectionsRenderer was called with that large set of waypoints, the > rendered route would be (effectively) non-draggable (as every entered > waypoint would be fixed). > > The transitional waypoint is visible (a small dot on the polyline), > but it does not seem to appear in the Steps of the Leg. Rather, the > Step just "goes through" the transitional waypoint without any > indication of that waypoint's position.
Did you see Esa's post in this thread? http://groups.google.com/group/google-maps-js-api-v3/browse_frm/thread/d4b2e1950744aa37/c8bb5e43f845afc4 Is that what you are looking for? -- Larry -- 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.
