function
initialize(){
if(GBrowserIsCompatible()){
var map = new
GMap2(document.getElementById('map_canvas'));
map.setCenter(new
GLatLng(39.9493,116.3975),13);
}
}
这段代码敲上去之后就可以显示了。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/23033727/viewspace-629614/ ,如需转载,请注明出处,否则将追究法律责任。