Google Maps Creating two markers and a line between them
I am wondering how I can create two markers on a google map (upon click) and have a line drawn between them. Ideally both marker开发者_开发问答s would be draggable after they are initially dropped and the line would readjust accordingly.
Maybe you can check this example, though is already deprecated it might help you to get an idea http://maps.forum.nu/gm_flight_path.html
精彩评论