我使用以下代码将 AT5 文件加载到谷歌地图对象中:
map = new GMap2(document.getElementById("map_canvas"));
geoXml = new GGeoXml(at5);
GEvent.addListener(geoXml, "load", function() {
geoXml.gotoDefaultViewport(map);
// I would like to read the AT5 contents here
});
map.addOverlay(geoXml);
感谢您提供任何帮助。