日期:2014-05-16 浏览次数:20356 次
<script type="text/javascript"> gpsxy = function (){ var points = [ new BMap.Point(116.397428,39.90923), new BMap.Point(116.396428,39.90923), new BMap.Point(116.395428,39.90923), new BMap.Point(116.394428,39.90923), new BMap.Point(116.393428,39.90923), new BMap.Point(116.392428,39.90923), new BMap.Point(116.391428,39.90923), new BMap.Point(116.390428,39.90923), new BMap.Point(116.38928,39.90923), new BMap.Point(116.388428,39.90923), ]; for (i=0;i<=9;i++){ BMap.Convertor.translate(points[i],0,translateCallback); } } translateCallback = function (point){ document.getElementById("baiduXY").innerHTML = document.getElementById("baiduXY").innerHTML+ Math.round(point.lng*100000)/100000 + "," + Math.round(point.lat*100000)/100000+"<br>"; } </script>