删除Google Maps V3标记拖动动画? [英] Removing the Google Maps V3 Marker drag animation?

查看:132
本文介绍了删除Google Maps V3标记拖动动画?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我拖放一个标记时,它会引起一点点变化,并在其下方出现一个倾斜的X来表示拖动位置。



有没有办法摆脱这个问题彻底?我有自定义标记,并希望以不同的方式显示它们的拖动状态。 我不相信这是可能的。您可以更改dragstart / dragend上的标记,但不会更改下面显示的x。



以下是拖动时更改标记的示例:



http://gmaps-samples-v3.googlecode.com/svn/trunk/draggable-markers/draggable-imagechange.html



当你看图像时,你会发现'x'不是PNG的一部分。


When I drag and drop a marker it raises a little bit and a skewed X appears underneath it to denote dragging position.

Is there anyway to get rid of this completely? I have custom markers and would like to display their dragging state in a different way.

解决方案

I don't believe this is possible. You can change the marker on dragstart / dragend, but this doesn't change the 'x' that shows up underneath.

Here is an example of changing the marker when dragging:

http://gmaps-samples-v3.googlecode.com/svn/trunk/draggable-markers/draggable-imagechange.html

When you look at the images you'll see that the 'x' is not part of the png.

这篇关于删除Google Maps V3标记拖动动画?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆