为什么地图上的标注不能拖动了?

374 views
Skip to first unread message

yanhui

unread,
Jan 8, 2008, 1:40:52 AM1/8/08
to Google 地图 API 讨论组
为什么地图上的标注不能拖动了?前些天还可以的.
google的示例: http://www.google.com/intl/zh-CN/apis/maps/documentation/dragmarker.html

天天

unread,
Jan 8, 2008, 3:45:35 AM1/8/08
to Google 地图 API 讨论组
可以的

On 1月8日, 下午2时40分, yanhui <zhiyan...@gmail.com> wrote:
> 为什么地图上的标注不能拖动了?前些天还可以的.
> google的示例:http://www.google.com/intl/zh-CN/apis/maps/documentation/dragmarker.html

Xiankai

unread,
Jan 8, 2008, 4:41:58 AM1/8/08
to Google 地图 API 讨论组
我也发现了,在ie6里不能拖动,在ff可以。ie7未测。

dblclick也不可以。

难道google api出了什么bug???
> > google的示例:http://www.google.com/intl/zh-CN/apis/maps/documentation/dragmarker.html- Hide quoted text -
>
> - Show quoted text -

jft...@gmail.com

unread,
Jan 10, 2008, 10:29:12 PM1/10/08
to Google 地图 API 讨论组

好像就这几天GMAP 版本更新引起的,设置默认的ICON就可以了
Another option is to copy the original markerTransparent.png from:
http://www.geocodezip.com/mapIcons/markerTransparent.png
or
http://econym.googlepages.com/markerTransparent.png
to your local server and use it instead of the version in
G_DEFAULT_ICON
G_DEFAULT_ICON.transparent = "/path/to/correct/icon/on/your/server/
markerTransparent.png;"

this will have the added benifit that clicks on markers in the shadow
of infoWindows will still work.

http://groups.google.com/group/Google-Maps-API/browse_thread/thread/d2608dd5e56891c9/7cc78ca7580339a9?lnk=raot

On 1月8日, 下午5时41分, Xiankai <Gnosis...@gmail.com> wrote:
> 我也发现了,在ie6里不能拖动,在ff可以。ie7未测。
>
> dblclick也不可以。
>
> 难道google api出了什么bug???
>
> On Jan 8, 4:45 pm, "天天" <zhuangminf...@gmail.com> wrote:
>
> > 可以的
>
> > On 1月8日, 下午2时40分, yanhui <zhiyan...@gmail.com> wrote:
>
> > > 为什么地图上的标注不能拖动了?前些天还可以的.
> > > google的示例:http://www.google.com/intl/zh-CN/apis/maps/documentation/dragmarker.h...Hide quoted text -
Reply all
Reply to author
Forward
0 new messages