开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜