On Jul 23, 12:09 pm, "[email protected]" <[email protected]> wrote: > On Jul 23, 11:52 am, Dom <[email protected]> wrote: > > > Hi, > > > My map is working well, I can add steps. But I want to know how to > > change route if one proposed is not one I want, without adding a > > marker. > > Like in maps.google.com, when you ask a direction between A and B, you > > can change (drag) the route where you want.(A to B via a specific > > point). > > Is it possible with Google Map API ? > > It is certainly possible. But it isn't the default behavior of the > GDirections class, you will need to modifiy both the display on the > map and the way the route description is displayed in the sidebar. > See Mike Williams' tutorial for an example that can get you started.
You might also want to review the "issues" list and see if there is a request for an enhancement to do this, and add one if there isn't, star it if there is. http://code.google.com/p/gmaps-api-issues/issues/list -- Larry > > -- Larry > > > > > > > Dom > > > On 23 juil, 20:37, "Pil (Trustworthy from Experience)" > > > <[email protected]> wrote: > > > Ahh, you already asked that question and you mentioned an example of > > > what you want and already got a few answers > > > >http://groups.google.com/group/Google-Maps-API/browse_thread/thread/5... > > > > To programm a map with advanced direction queries is not an easy task. > > > If you are an experienced programmer you should budget at least a few > > > days (depends on what you want to achieve). If you aren't a > > > experienced programmer you should budget a few weeks. > > > > On Jul 23, 7:47 pm, Dom <[email protected]> wrote: > > > > > Hi, > > > > > Your exemples are not exactly what I search. > > > > I want to drag the route, not the marker. > > > > > Dom > > > > > On 23 juil, 19:43, "Pil (Trustworthy from Experience)" > > > > > <[email protected]> wrote: > > > > > Here is an example with two markers from the demo gallery > > > > > >http://esa.ilmari.googlepages.com/draggabledir.htm > > > > > > Here is an an example with three markers (not from the demo gallery > > > > > and still not completely finished) > > > > > >http://www.wolfpil.de/routeonclick.html > > > > > > On Jul 23, 5:23 pm, dommm063 <[email protected]> wrote: > > > > > > > Hi, > > > > > > > is it possible to drag a route between 2 points without creating a > > > > > > new > > > > > > point ? > > > > > > At this moment, when I drag my route, a new marker C is added. I > > > > > > would > > > > > > like to only keep marker A and B. > > > > > > > Dom- Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
