12月
22
Google maps API 中,有两个函数openInfoWindow和openInfoWindowHtml,功能上是一致的,文档中说openInfoWindow接受一个dom作为content变量,而openInfoWindowHtml接受string(string为html代码)变量。而我试验了一下,两者是可以互换的,也就是说,openInfoWindow也可以接受一个string变量,反之亦然。
在Google group里面我也提到了这个问题。有兴趣的可以看看。
在Google group里面我也提到了这个问题。有兴趣的可以看看。

0 引用