Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我根据谷歌地图 API 手册编写了一个小脚本,它在平面显示上运行良好。但是,如果我想将链接放在弹出窗口中打开它,它会部分加载。以下是源链接:
jsfiddle.net/haroutweb/WrvDm/1/
这是您要实现的目标http://jsfiddle.net/davidchase03/zJHAa/吗?
您已初始化地图。
所以添加initialize();到您的点击功能会加载整个地图
initialize();
让我知道。
-大卫