Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我不太了解 Google 地图 API,我现在才刚刚学习。通过此处解释的示例,我可以在两个位置之间绘制地图。但我只是想知道是否可以包含via位置..对此有什么帮助..?
via
我已经通过使用waypoints如下 方式解决了它
waypoints
var request = { origin: "Mumbai, India", destination: "Pune, India", waypoints: [{ location: "Via point address", stopover: true}], travelMode: google.maps.DirectionsTravelMode.DRIVING };
谢谢