Groups
Groups
Sign in
Groups
Groups
谷歌地图 API 论坛
Conversations
About
Send feedback
Help
Google地图API问题,如何出现系统找出的路径中的小圆圈?
16 views
Skip to first unread message
tao yuan
unread,
Aug 17, 2009, 7:57:42 AM
8/17/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-map...@googlegroups.com
ditu.google.com
当使用搜索路线,制定出发点和目的地之后,系统会画出蓝色的路线。 当鼠标移到这个路线上的时候出现一个小圈圈,并且提示“拖动以更改路线” 。 如果想在自己用Google maps API 创建的地图上也提供类似的功能,该怎么做? API 里面好像没有看到这个说明。。。
Dorian
unread,
Aug 19, 2009, 10:48:16 PM
8/19/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 谷歌地图 API 论坛
同问,研究一下。
李白,字一日
unread,
Aug 25, 2009, 1:17:45 AM
8/25/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 谷歌地图 API 论坛
这些点需要通过map的mousemove或者mouseover事件来取得
基本的思路是对线路上的shape点与鼠标的位置进行比较取离鼠标最近的点。
取到后再新建一个可拖动的marker.对marker添加drag事件的处理。
Reply all
Reply to author
Forward
0 new messages