【发布时间】:2013-06-09 21:46:02
【问题描述】:
有人知道为什么这条特定的折线画错了吗? 通常一切都很好,但是对于这次旅行,我现在不再有想法了! 测试地点:http://junkvibration.com/test/walk/test.htm
感谢您的帮助!
这个例子我的路点是:
waypoints: [{location:"Lucern",stopover:false},{location:"Paris",stopover:false},
{location:"Madrid",stopover:false},{location:"Granada",stopover:false},
{location:"Barcelona",stopover:false},{location:"Monaco",stopover:false},
{location:"Rom",stopover:false}],
optimizeWaypoints: false,
travelMode: google.maps.DirectionsTravelMode.WALKING };
【问题讨论】:
-
为什么要为 5,609 公里的行程指定步行路线?在没有法律警告的情况下显示步行方向是违反使用条款的。如果我更改为行车路线,我不会获得路线 (ZERO_RESULTS)。如果我把所有的航点都设为 {stopover:true} 那么它就可以了。
标签: google-maps google-maps-api-3 map-directions google-polyline