Have a look at this example. It's limited to three draggable markers.

http://www.wolfpil.de/routeonclick.html


If you don't like the limitation of the markers you may also have a
look at this one

http://www.marsrutai.info/directions


And I guess it should not be too difficult to change this library to
add the markers on click.

http://gmaps-utility-library-dev.googlecode.com/svn/trunk/contextmenucontrol/




On Jun 7, 6:57 pm, eko sasmito <[email protected]> wrote:
> i made a google maps aplication,
> how can i get the direction to a location that is already in the map
> when user click the map, a new marker will added to the map (start
> marker) and its draggable. and then show the directions in a div tag
>
> here is the link:
>
> http://tangerangmaps.com/detail.php?kat=trans&id=1&koord=-6.124084,10...
>
> how can i do that??
> im realy stuck....
> please help me ^_^
>
> thanks before.

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

Reply via email to