注:代码部份通过分析http://www.5biaomap.com/code_wheel1.js文件得到 加个显示座标的文本框 中心位置: < input type ="text" id ="lnglat" size ="30" /> 添加得到并显示坐标的函数 // 得到当前坐标 function CenterLngLat() ... { var c=map.getCenter(); document.getElementById("lnglat").value=c.toUrlValue(); } 在 gMap 的load 里加上 CenterLngLat(); // 添加事件监听 GEvent.addListener(map, ' moveend ' , function () ... {CenterLngLat();} ); }