日期:2014-05-16  浏览次数:20343 次

求助google地图的怎么在marker旁边加一个信息框显示信息
求助google地图的怎么在marker旁边加一个信息框显示信息,高手们帮帮忙吧
google

------解决方案--------------------
什么意思,infowindow?
参考代码仓库 http://code.google.com/apis/ajax/playground/#info_window_v3

------解决方案--------------------
GEvent.addListener(marker,"click", function(){
     map.openInfoWindowHtml(point,showhtml);          
  });
好像就只能点击获取,或者你在加载页面时直接function(){
     map.openInfoWindowHtml(point,showhtml);          
  }