src/main/webapp/view/uavchannelnew.jsp | ●●●●● patch | view | raw | blame | history | |
src/main/webapp/view/uavdroppointnew.jsp | ●●●●● patch | view | raw | blame | history |
src/main/webapp/view/uavchannelnew.jsp
@@ -103,7 +103,7 @@ </head> <body> <div id="data" style="display:block"> <div id="data" style="display:none"> <%--存放数据的表--%> <table id="tab" style="border:1px solid black;width: 280px"> </table> @@ -356,7 +356,7 @@ if (trackPoints.length == 0) { showNoDroppoint(); } $(function () { var points = getPoints(trackPoints); map.centerAndZoom(points, 17);// 根据经纬度显示地图的范围 map.setViewport(points);// 根据提供的地理区域或坐标设置地图视野 @@ -384,7 +384,6 @@ } addPolygon(getPoints(result)); listen(result); }); }); function getResult(result, arry) { src/main/webapp/view/uavdroppointnew.jsp
@@ -353,7 +353,6 @@ showNoDroppoint(); } $(function () { var points = getPoints(trackPoints); map.centerAndZoom(points, 17);// 根据经纬度显示地图的范围 map.setViewport(points);// 根据提供的地理区域或坐标设置地图视野 @@ -382,7 +381,6 @@ addPolygon(getPoints(arry)); listen(arry); }) }); function listen(arry) { map.addEventListener("zoomend", function () {