我正在为Google Maps v3寻找InfoWindow替代品。我想用它来弹出marker mouseover。标准的InfoWindow是完全无法使用的,因为它可以平移并使其成为一个麻烦。谷歌地图v2有优秀的GxMarker(不支持新API):http://code.toeat.com/gxmarker.html用于Google Maps v3的InfoWindow替代品
有没有人知道谷歌地图v3的类似插件,或其他方式来解决InfoWindow的专横行为?
我正在为Google Maps v3寻找InfoWindow替代品。我想用它来弹出marker mouseover。标准的InfoWindow是完全无法使用的,因为它可以平移并使其成为一个麻烦。谷歌地图v2有优秀的GxMarker(不支持新API):http://code.toeat.com/gxmarker.html用于Google Maps v3的InfoWindow替代品
有没有人知道谷歌地图v3的类似插件,或其他方式来解决InfoWindow的专横行为?
在InfoWindow选项中,您可以通过将disableAutoPan设置为true来禁用平移,您可以在参考页面上阅读更多内容。
但也有,可以发现here
http://econym.org.uk/gmap/ebubble.htm是我用于V2的版本,当您浏览代码时,您可以看到它非常简单,如果稍微修改,可以使用V3。
希望它有帮助。
var infowindow2 = new google.maps.InfoWindow({
disableAutoPan: true
});
这看起来很有希望一个信息框工具库:http://koti.mbnet.fi/ojalesa/boundsbox/tiptool_trains.htm(见tiptool.js) – 2010-01-27 07:58:50