I updated my example of draggable directions at www.marsrutai.info/directions
Now the directions can be initialized from array of points via function InitRoute(route_points). For example, the points are parsed into array from URL at start: www.marsrutai.info/directions/#40.78112,-74.00537,47.57658,-122.29967,37.78821,-122.43167 And the constructed route is further extensible and draggable. I added "Clear route" button to the map - it just calls InitRoute([]) with empty array of points. I also added storing of route points into URL. So you can bookmark page with constructed route or send the link via email. No need to store route into KML or server side. Regards Evaldas On May 7, 11:30 am, mario <[email protected]> wrote: > Hello Guys, > I am trying to get this since a while, I got this example for drawing > a editable line:http://www.marsrutai.info/directions.htm > > I want to draw such a editable line from a Array with several Points i > get form my database. > The drawing works, if i take the loadFromWaypoints method, > but the line is not editable any more. > > Anyone has a tip how i can draw a editable line with my own points > without clicking on the map? > > Thanks for your help. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
