Groups
Groups
Sign in
Groups
Groups
Google API 技術論壇
Conversations
About
Send feedback
Help
MAP路徑規畫能否做到多點規劃
73 views
Skip to first unread message
孟鴻
unread,
Jul 8, 2009, 2:29:08 AM
7/8/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google API 技術論壇
目前能做的是路徑的兩點規劃,
請問API是否提供有多點的路徑規畫。
Kevin Liu
unread,
Jul 8, 2009, 5:54:02 PM
7/8/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 孟鴻, Google API 技術論壇
The GDirections object supports multi-point directions, as mentioned in:
http://code.google.com/apis/maps/documentation/services.html#RoutesAndSteps
.
You can either use a format such as "from: Toronto to: Ottawa to: New York", or use loadFromWaypoints which accepts an array.
See the API documentation for details:
http://code.google.com/apis/maps/documentation/reference.html#GDirections
2009/7/8 孟鴻
<
aids...@gmail.com
>
目前能做的是路徑的兩點規劃,
請問API是否提供有多點的路徑規畫。
--
Kevin Tsung-Yuan Liu
Google Taipei Software Engineer
Reply all
Reply to author
Forward
0 new messages