演示显示多个Google路线(Google Maps API v3) [英] Demo for Displaying Multiple Google Directions (Google Maps API v3)

查看:161
本文介绍了演示显示多个Google路线(Google Maps API v3)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,有没有一个功能正常的演示可以在单个Google地图上显示多个路线路线? 堆栈上的其他问题链接到一组snippets ...我觉得我可以更好地工作我只是看到了一个实用的脚本。

Hey all, is there a functioning demo out there for displaying multiple directions routes on a single Google map? The other question on stack links to a set of snippets…I feel like I'd be able to work better I just saw a functional script in action.

非常感谢!

推荐答案

使用另一篇文章的片段,我得到了我想要的。我不仅在同一张地图上实现了多个方向显示,而且还为每个方向对象提供了独特的航点。

Using the snippets from the other post, I got what I wanted. Not only did I achieve multiple directions displays on the same map, but there are also unique waypoints to each directions object.

链接到演示

这篇关于演示显示多个Google路线(Google Maps API v3)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆