0
我点击标记时执行此代码。除了地图将不会在垂直跨越一切工作正常(它在横向跨度)谷歌地图不会垂直跨越
这是我的代码(JavaScript)的
google.maps.event.addListener(marker, 'click', function() {
infoBox.setContent('<div class="info_details">'+this.image+' <h2>'+this.title+'</h2> <div class="prop_details">'+this.type+' for '+this.type2+' - '+this.price+'</div>');
infoBox.open(map, this);
map.setCenter(this.position);
map.panBy(380,110);
});
它的工作原理 - 非常感谢:) – Crerem 2013-05-12 08:55:21