我需要标记和地图边界之间的当前距离来决定:将tipbox绘制在标记的左侧、右侧、上方或下方。我用下面这几行代码设置了tipbox的位置: var projection = this.getProjection();var position = projection.fromLatLngToDivPixel(this.get('position'));
// position of tipbox, dependsdiv.s
我遵循了wiki中的教程,除了InfoBox的回调部分让我这个没有经验的JS程序员感到有点困惑之外,我了解了大部分内容。desire, it will be displayed when users clicks on the markerend
在posts.js.coffeebackground: "url('http://google-maps-utility-library-v3.googlecode.