[Google api] map的GDirections

8 views
Skip to first unread message

Kenny Cheong

unread,
Sep 9, 2009, 4:57:19 AM9/9/09
to Google API 技術論壇
有沒有高手可以解答一下google 的 GDrections 路線規劃好後,有沒有辨法讀取路線,然後把一些資訊沿著路線去顯示在地圖上??

比如說,沿著路線把路上的餐廳顯示在路上

希望有人可以解答一下~感謝

Kevin Liu

unread,
Sep 9, 2009, 6:57:02 AM9/9/09
to Kenny Cheong, Google API 技術論壇
Please see API reference: http://code.google.com/intl/zh-TW/apis/maps/documentation/reference.html#GDirections
You can get Route (and Step) info via getNumRoutes(), getRoute(n), and so on

2009/9/9 Kenny Cheong <houku...@gmail.com>

有沒有高手可以解答一下google 的 GDrections 路線規劃好後,有沒有辨法讀取路線,然後把一些資訊沿著路線去顯示在地圖上??

比如說,沿著路線把路上的餐廳顯示在路上

希望有人可以解答一下~感謝




--
Kevin Tsung-Yuan Liu
Google Taipei Software Engineer
Reply all
Reply to author
Forward
0 new messages