ton>
        <button onclick="openEdit()"> 打开编辑</button>
        <button onclick="closeEdit()">关闭编辑</button>
        <button onclick="translation()">平移</button>
        <button onclick="getpath()">获得围栏路径</button>
        <button onclick="remove()">移除围栏</button>
    </div>
</body>

</html>
<script>
    var inmap = new inMap.Map({
        id: 'allmap',
        // skin: "Blueness",
        center: [105.403119, 38.028658],
        zoom: {
            value: 5,
           