jinpengyong
2020-07-02 c1fea9f3710e1a26b8f1a58ba288f9fe60d29c18
update
2 files modified
7 ■■■■ changed files
src/main/webapp/view/uavchannelnew.jsp 5 ●●●●● patch | view | raw | blame | history
src/main/webapp/view/uavdroppointnew.jsp 2 ●●●●● 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 () {