layui调用腾讯地图绘制编辑可视化范围生成json数据代码

代码语言:html

所属分类:其他

代码描述:layui调用腾讯地图绘制编辑可视化范围生成json数据代码

代码标签: layui 腾讯 地图 可视化 编辑 范围 json

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/mock.min.js"></script>
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/js/layui/css/layui.css">
    <style>
        html,
        body {
            height: 100%;
            margin: 0;
            padding: 0;
            position: relative;
        }

        #map {
            width: 100%;
            height: 100%;
        }

        #btns {
            position: absolute;
            z-index: 1001;
            top: 10px;
            left: 10px;
        }

        #manual {
            position: absolute;
            z-index: 1001;
            top: 40px;
            left: 10px;
        }

        #polygon {
            position: absolute;
            z-index: 1000;
            top: 50px;
            left: 10px;
        }
    </style>
</head>

<body>
    <div id="map"></div>
    <div class="layui-btn-container" id="btns">
        <button type="button" class="layui-btn layui-btn-sm" onclick="operationManual()">操作提示</button>
        <button type="button" class="layui-btn layui-btn-sm" onclick="setDrawMode()">绘制模式</button>
        <button type="button" class="layui-btn layui-btn-sm" onclick="setInteractMode()">编辑模式</button>
        <button type="button" class="layui-btn layui-btn-sm" onclick="location.reload()">重载</button>
        <button type="button" class="layui-btn layui-btn-normal layui-btn-sm" onclick="submit()">提交选中区域数据</button>
    </div>
    <div id="polygon">
        <div class="layui-inline">
            <div class="layui-input-inline">
                <input type="text" class="layui-input" placeholder="请输入纬度,经度" ondblclick="getLatLng()">
            </div>
        </div>
        <div class="layui-inline">
            <div class="layui-input-inline">
                <button type="button" class="layui-btn layui-btn-danger" onclick="isPointInPolygon()">检测</button>
            </div>
        </div>
    </div>
    <blockquote class="layui-elem-quote layui-anim layui-anim-fadein layui-hide" id="manual">
        <p><strong>绘制:</strong>鼠标左键点击及移动即可绘制图形</p>
        <p><strong>结束绘制:</strong>鼠标左键双击即可结束绘制折线、多边形、圆形,多边形会自动闭合</p>
        <p><strong>单选:</strong>鼠标左键点击图形</p>
        <p><strong>多选:</strong>按下ctrl键后点击多个图形</p>
        <p><strong>删除:</strong>选中图形后按下delete键可删除图形</p>
        <p><strong>拆分:</strong>选中单个多边形后可绘制拆分线,拆分线绘制完成后自动进行拆分</p>
        <p><strong>中断:</strong>绘制或编辑过程中按下esc键可中断该过程</p>
    </blockquote>
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/layui/layui.all.js"></script>
    <!--注意:腾讯地图Javascript API GL需要在有Web服务的情况下才能正常使用-->
    <script src="https://map.qq.com/api/gljs?v=1.exp&key=OB4BZ-D4W3U-B7VVO-4PJWW-6TKDJ-WPB77&libraries=tools,geometry"></script>
    <script>
    
      //ajax拦截并返回模拟数据
        Mock.mock('/json/latlng.json', {
  "code": 200,
  "data": {
    "overlays": [
      {
        "id": "",
        "styleId": "",
        "paths": [
          { "lng": 120.64421, "lat": 30.12952 },
          { "lng": 120.673957, "lat": 30.103461 },
          { "lng": 120.681124, "lat": 30.115062 },
          { "lng": 120.720005, "lat": 30.110608 },
          { "lng": 120.738373, "lat": 30.121596 },
          { "lng": 120.75426, "lat": 30.1213 },
          { "lng": 120.755582, "lat": 30.131247 },
          { "lng": 120.798894, "lat": 30.13102 },
          { "lng": 120.806088, "lat": 30.122305 },
          { "lng": 120.794077, "lat": 30.081572 },
          { "lng": 120.76541, "lat": 30.095534 },
          { "lng": 120.760689, "lat": 30.081349 },
          { "lng": 120.732365, "lat": 30.083333 },
          { "lng": 120.74878, "lat": 30.06175 },
          { "lng": 120.73002, "lat": 30.04134 },
          { "lng": 120.75218, "lat": 30.03421 },
          { "lng": 120.76309, "lat": 30.00618 },
          { "lng": 120.77547, "lat": 30.00393 },
          { "lng": 120.77922, "lat": 29.97111 },
          { "lng": 120.76715, "lat": 29.95787 },
          { "lng": 120.76834, "lat": 29.91275 },
          { "lng": 120.75356, "lat": 29.87912 },
          { "lng": 120.74114, "lat": 29.86978 },
          { "lng": 120.72554, "lat": 29.86634 },
          { "lng": 120.70116, "lat": 29.88319 },
          { "lng": 120.68032, "lat": 29.93662 },
          { "lng": 120.65726, "lat": 29.94594 },
          { "lng": 120.65413, "lat": 29.95851 },
          { "lng": 120.63806, "lat": 29.95534 },
          { "lng": 120.63775, "lat": 29.94738 },
          { "lng": 120.61399, "lat": 29.94429 },
          { "lng": 120.60294, "lat": 29.91815 },
          { "lng": 120.60783, "lat": 29.90015 },
          { "lng": 120.58852, "lat": 29.88397 },
          { "lng": 120.55526, "lat": 29.88219 },
          { "lng": 120.54592, "lat": 29.90227 },
          { "lng": 120.52868, "lat": 29.90279 },
          { "lng": 120.55375, "lat": 29.95541 },
          { "lng": 120.55138, "lat": 29.96638 },
          { "lng": 120.53636, "lat": 30.00097 },
          { "lng": 120.50054, "lat": 30.01796 },
          { "lng": 120.51846, "lat": 30.04309 },
          { "lng": 120.511514, "lat": 30.059936 },
          { "lng": 120.519784, "lat": 30.082292 },
          { "lng": 120.53023, "lat": 30.08385 },
          { "lng": 120.52813, "lat": 30.09933 },
          { "lng": 120.57747, "lat": 30.09974 },
          { "lng": 120.58665, "lat": 30.12602 },
          { "lng": 120.59806, "lat": 30.12833 },
          { "lng": 120.60966, "lat": 30.12014 }
        ]
      },
      {
        "id": "",
        "styleId": "",
        "paths": [
          { "lng": 120.644013, "lat": 30.217277 },
          { "lng": 120.67172, "lat": 30.23214 },
          { "lng": 120.707092, "lat": 30.270634 },
          { "lng": 120.741397, "lat": 30.231235 },
          { "lng": 120.66701, "lat": 30.14349 },
          { "lng": 120.64421, "lat": 30.12952 },
          { "lng": 120.60966, "lat": 30.12014 },
          { "lng": 120.59806, "lat": 30.12833 },
          { "lng": 120.58665, "lat": 30.12602 },
          { "lng": 120.57747, "lat": 30.09974 },
          { "lng": 120.52813, "lat": 30.09933 },
          { "lng": 120.53023, "lat": 30.08385 },
          { "lng": 120.519784, "lat": 30.082292 },
          { "lng": 120.511514, "lat": 30.059936 },
          { "lng": 120.51846, "lat": 30.04309 },
          { "lng": 120.50054, "lat": 30.01796 },
          { "lng": 120.53636, "lat": 30.00097 },
          { "lng": 120.55138, "lat": 29.96638 },
          { "lng": 120.55375, "lat": 29.95541 },
          { "lng": 120.52868, "lat": 29.90279 },
          { "lng": 120.54592, "lat": 29.90227 },
          { "lng": 120.55526, "lat": 29.88219 },
          { "lng": 120.58852, "lat": 29.88397 },
          { "lng": 120.60783, "lat": 29.90015 },
          { "lng": 120.60294, "lat": 29.91815 },
          { "lng": 120.61399, "lat": 29.94429 },
          { "lng": 120.63775, "lat": 29.94738 },
          { "lng": 120.63806, "lat": 29.95534 },
          { "lng": 120.65413, "lat": 29.95851 },
          { "lng": 120.65726, "lat": 29.94594 },
          { "lng": 120.68032, "lat": 29.93662 },
          { "lng": 120.70116, "lat": 29.88319 },
          { "lng": 120.72554, "lat": 29.86634 },
          { "lng": 120.74114, "lat": 29.86978 },
          { "lng": 120.74368, "lat": 29.82755 },
          { "lng": 120.73557, "lat": 29.80886 },
          { "lng": 120.75066, "lat": 29.79101 },
          { "lng": 120.74557, "lat": 29.77079 },
          { "lng": 120.75182, "lat": 29.76718 },
          { "lng": 120.72204, "lat": 29.74307 },
          { "lng": 120.71693, "lat": 29.71511 },
          { "lng": 120.69906, "lat": 29.69953 },
          { "lng": 120.69118, "lat": 29.6975 },
          { "lng": 120.67332, "lat": 29.70965 },
          { "lng": 120.67518, "lat": 29.72712 },
          { "lng": 120.65753, "lat": 29.74233 },
          { "lng": 120.63258, "lat": 29.746834 },
          { "lng": 120.58334, "lat": 29.7264 },
          { "lng": 120.57174, "lat": 29.70715 },
          { "lng": 120.56183, "lat": 29.71149 },
          { "lng": 120.53223, "lat": 29.70027 },
          { "lng": 120.53902, "lat": 29.71784 },
          { "lng": 120.51393, "lat": 29.74397 },
          { "lng": 120.510404, "lat": 29.79151 },
          { "lng": 120.50245, "lat": 29.79552 },
          { "lng": 120.53717, "lat": 29.84838 },
          { "lng": 120.49639, "lat": 29.86178 },
          { "lng": 120.48818, "lat": 29.8804 },
          { "lng": 120.46172, "lat": 29.89258 },
          { "lng": 120.4495, "lat": 29.92097 },
          { "lng": 120.42729, "lat": 29.92757 },
          { "lng": 120.41226, "lat": 29.92346 },
          { "lng": 120.41528, "lat": 29.93847 },
          { "lng": 120.40374, "lat": 29.9429 },
          { "lng": 120.39395, "lat": 29.96422 },
          { "lng": 120.3643, "lat": 29.9785 },
          { "lng": 120.36285, "lat": 29.99772 },
          { "lng": 120.34524, "lat": 30.02032 },
          { "lng": 120.34291, "lat": 30.03628 },
          { "lng": 120.32465, "lat": 30.04665 },
          { "lng": 120.33805, "lat": 30.05993 },
          { "lng": 120.33369, "lat": 30.09545 },
          { "lng": 120.31334, "lat": 30.10705 },
          { "lng": 120.30081, "lat": 30.09764 },
          { "lng": 120.2919, "lat": 30.09983 },
          { "lng": 120.29784, "lat": 30.12784 },
          { "lng": 120.31419, "lat": 30.13662 },
          { "lng": 120.31906, "lat": 30.12594 },
          { "lng": 120.3274, "lat": 30.125 },
          { "lng": 120.33963, "lat": 30.14117 },
          { "lng": 120.35322, "lat": 30.14207 },
          { "lng": 120.35262, "lat": 30.15012 },
          { "lng": 120.35789, "lat": 30.14653 },
          { "lng": 120.38496, "lat": 30.15646 },
          { "lng": 120.39846, "lat": 30.13604 },
          { "lng": 120.41052, "lat": 30.13643 },
          { "lng": 120.41375, "lat": 30.14773 },
          { "lng": 120.42409, "lat": 30.14411 },
          { "lng": 120.42401, "lat": 30.13315 },
          { "lng": 120.44559, "lat": 30.13476 },
          { "lng": 120.46992, "lat": 30.17091 },
          { "lng": 120.4951, "lat": 30.17007 },
          { "lng": 120.51635, "lat": 30.15535 },
          { "lng": 120.6008, "lat": 30.14794 }
        ]
      },
      {
        "id": "",
        "styleId": "",
        "paths": [
          { "lng": 120.26404, "lat": 29.40081 },
          { "lng": 120.27801, "lat": 29.41676 },
          { "lng": 120.28142, "lat": 29.43643 },
          { "lng": 120.26143, "lat": 29.46074 },
          { "lng": 120.27025, "lat": 29.49065 },
          { "lng": 120.20834, "lat": 29.52743 },
          { "lng": 120.20419, "lat": 29.54884 },
          { "lng": 120.18661, "lat": 29.54901 },
          { "lng": 120.17307, "lat": 29.51715 },
          { "lng": 120.11863, "lat": 29.49576 },
          { "lng": 120.07972, "lat": 29.50837 },
          { "lng": 120.08659, "lat": 29.51853 },
          { "lng": 120.07751, "lat": 29.53755 },
          { "lng": 120.05184, "lat": 29.54847 },
          { "lng": 120.0547, "lat": 29.55817 },
          { "lng": 120.03848, "lat": 29.57402 },
          { "lng": 120.02099, "lat": 29.56864 },
          { "lng": 120.00643, "lat": 29.57361 },
          { "lng": 120.01172, "lat": 29.60482 },
          { "lng": 120.04693, "lat": 29.62793 },
          { "lng": 120.02425, "lat": 29.6437 },
          { "lng": 120.03671, "lat": 29.65384 },
          { "lng": 120.03555, "lat": 29.66608 },
          { "lng": 120.02994, "lat": 29.66872 },
          { "lng": 120.02776, "lat": 29.65438 },
          { "lng": 120.015, "lat": 29.64895 },
          { "lng": 119.99109, "lat": 29.65431 },
          { "lng": 119.97312, "lat": 29.67479 },
          { "lng": 119.96837, "lat": 29.69463 },
          { "lng": 119.93779, "lat": 29.70744 },
          { "lng": 119.93015, "lat": 29.70451 },
          { "lng": 119.93119, "lat": 29.69597 },
          { "lng": 119.91881, "lat": 29.6996 },
          { "lng": 119.90016, "lat": 29.74452 },
          { "lng": 119.88908, "lat": 29.75176 },
          { "lng": 119.89054, "lat": 29.76321 },
          { "lng": 119.9272, "lat": 29.74441 },
          { "lng": 119.97526, "lat": 29.76639 },
          { "lng": 119.99199, "lat": 29.75313 },
          { "lng": 120.01122, "lat": 29.75731 },
          { "lng": 120.03005, "lat": 29.77053 },
          { "lng": 120.0366, "lat": 29.78852 },
          { "lng": 120.03005, "lat": 29.80627 },
          { "lng": 120.03813, "lat": 29.82272 },
          { "lng": 120.06413, "lat": 29.82156 },
          { "lng": 120.07722, "lat": 29.82813 },
          { "lng": 120.09584, "lat": 29.81658 },
          { "lng": 120.10995, "lat": 29.84595 },
          { "lng": 120.14476, "lat": 29.87408 },
          { "lng": 120.15119, "lat": 29.90549 },
          { "lng": 120.19128, "lat": 29.91783 },
          { "lng": 120.21021, "lat": 29.93977 },
          { "lng": 120.24752, "lat": 29.93563 },
          { "lng": 120.25522, "lat": 29.94362 },
          { "lng": 120.27439, "lat": 29.9195 },
          { "lng": 120.28418, "lat": 29.92213 },
          { "lng": 120.29106, "lat": 29.93563 },
          { "lng": 120.31356, "lat": 29.92757 },
          { "lng": 120.34052, "lat": 29.95602 },
          { "lng": 120.34648, "lat": 29.97375 },
          { "lng": 120.3643, "lat": 29.9785 },
          { "lng": 120.39395, "lat": 29.96422 },
          { "lng": 120.40374, "lat": 29.9429 },
          { "lng": 120.41528, "lat": 29.93847 },
          { "lng": 120.41226, "lat": 29.92346 },
          { "lng": 120.42729, "lat": 29.92757 },
          { "lng": 120.4495, "lat": 29.92097 },
          { "lng": 120.46172, "lat": 29.89258 },
          { "lng": 120.48818, "lat": 29.8804 },
          { "lng": 120.49639, "lat": 29.86178 },
          { "lng": 120.53717, "lat": 29.84838 },
          { "lng": 120.50245, "lat": 29.79552 },
          { "lng": 120.510404, "lat": 29.79151 },
          { "lng": 120.51393, "lat": 29.74397 },
          { "lng": 120.53902, "lat": 29.71784 },
          { "lng": 120.53223, "lat": 29.70027 },
          { "lng": 120.5344, "lat": 29.678 },
          { "lng": 120.52422, "lat": 29.67886 },
          { "lng": 120.51236, "lat": 29.65129 },
          { "lng": 120.52292, "lat": 29.60966 },
          { "lng": 120.4985, "lat": 29.59148 },
          { "lng": 120.51699, "lat": 29.53173 },
          { "lng": 120.47792, "lat": 29.51191 },
          { "lng": 120.46146, "lat": 29.48492 },
          { "lng": 120.427194, "lat": 29.477992 },
          { "lng": 120.4104, "lat": 29.45062 },
          { "lng": 120.38752, "lat": 29.45661 },
          { "lng": 120.36877, "lat": 29.44713 },
          { "lng": 120.37282, "lat": 29.41489 },
          { "lng": 120.33423, "lat": 29.40344 },
          { "lng": 120.30271, "lat": 29.35071 },
          { "lng": 120.27198, "lat": 29.36872 }
        ]
      },
      {
        "id": "",
        "styleId": "",
        "paths": [
          { "lng": 120.64421, "lat": 30.12952 },
          { "lng": 120.66701, "lat": 30.14349 },
          { "lng": 120.741397, "lat": 30.231235 },
          { "lng": 120.754141, "lat": 30.223568 },
          { "lng": 120.823373, "lat": 30.213598 },
          { "lng": 120.898997, "lat": 30.218685 },
          { "lng": 120.92763, "lat": 30.1652 },
          { "lng": 120.93908, "lat": 30.12558 },
          { "lng": 120.93059, "lat": 30.11396 },
          { "lng": 120.9383, "lat": 30.11299 },
          { "lng": 120.94946, "lat": 30.09018 },
          { "lng": 120.96734, "lat": 30.08944 },
          { "lng": 120.9706, "lat": 30.06981 },
          { "lng": 120.98935, "lat": 30.05335 },
          { "lng": 120.99123, "lat": 30.02776 },
          { "lng": 121.02713, "lat": 30.01236 },
          { "lng": 121.03822, "lat": 30.0157 },
          { "lng": 121.04476, "lat": 30.00197 },
          { "lng": 121.05302, "lat": 30.01085 },
          { "lng": 121.05994, "lat": 30.00163 },
          { "lng": 121.07038, "lat": 30.00462 },
          { "lng": 121.09181, "lat": 29.98701 },
          { "lng": 121.08586, "lat": 29.97263 },
          { "lng": 121.04443, "lat": 29.95538 },
          { "lng": 121.04091, "lat": 29.9296 },
          { "lng": 121.01647, "lat": 29.89462 },
          { "lng": 121.05687, "lat": 29.8548 },
          { "lng": 121.06445, "lat": 29.85876 },
          { "lng": 121.10425, "lat": 29.8388 },
          { "lng": 121.09653, "lat": 29.81594 },
          { "lng": 121.10538, "lat": 29.80293 },
          { "lng": 121.0906, "lat": 29.78602 },
          { "lng": 121.06194, "lat": 29.77987 },
          { "lng": 121.04341, "lat": 29.76187 },
          { "lng": 121.02542, "lat": 29.75868 },
          { "lng": 121.03601, "lat": 29.7429 },
          { "lng": 121.02709, "lat": 29.73435 },
          { "lng": 120.98567, "lat": 29.74372 },
          { "lng": 120.95675, "lat": 29.73266 },
          { "lng": 120.94944, "lat": 29.74433 },
          { "lng": 120.92194, "lat": 29.73144 },
          { "lng": 120.9035, "lat": 29.73675 },
          { "lng": 120.8945, "lat": 29.75321 },
          { "lng": 120.86272, "lat": 29.74665 },
          { "lng": 120.84761, "lat": 29.79335 },
          { "lng": 120.83725, "lat": 29.79956 },
          { "lng": 120.83792, "lat": 29.82727 },
          { "lng": 120.8094, "lat": 29.82766 },
          { "lng": 120.78181, "lat": 29.8117 },
          { "lng": 120.76396, "lat": 29.8098 },
          { "lng": 120.75066, "lat": 29.79101 },
          { "lng": 120.73557, "lat": 29.80886 },
          { "lng": 120.74368, "lat": 29.82755 },
          { "lng": 120.74114, "lat": 29.86978 },
          { "lng": 120.75356, "lat": 29.87912 },
          { "lng": 120.76834, "lat": 29.91275 },
          { "lng": 120.76715, "lat": 29.95787 },
          { "lng": 120.77922, "lat": 29.97111 },
          { "lng": 120.77547, "lat": 30.00393 },
          { "lng": 120.76309, "lat": 30.00618 },
          { "lng": 120.75218, "lat": 30.03421 },
          { "lng": 120.73002, "lat": 30.04134 },
          { "lng": 120.74878, "lat": 30.06175 },
          { "lng": 120.732365, "lat": 30.083333 },
          { "lng": 120.760689, "lat": 30.081349 },
          { "lng": 120.76541, "lat": 30.095534 },
          { "lng": 120.794077, "lat": 30.081572 },
          { "lng": 120.806088, "lat": 30.122305 },
          { "lng": 120.798894, "lat": 30.13102 },
          { "lng": 120.755582, "lat": 30.131247 },
          { "lng": 120.75426, "lat": 30.1213 },
          { "lng": 120.738373, "lat": 30.121596 },
          { "lng": 120.720005, "lat": 30.110608 },
          { "lng": 120.681124, "lat": 30.115062 },
          { "lng": 120.673957, "lat": 30.103461 }
        ]
      },
      {
        "id": "",
        "styleId": "",
        "paths": [
          { "lng": 120.70469, "lat": 29.34756 },
          { "lng": 120.6702, "lat": 29.32551 },
          { "lng": 120.65367, "lat": 29.33428 },
          { "lng": 120.64433, "lat": 29.3272 },
          { "lng": 120.62445, "lat": 29.33626 },
          { "lng": 120.60154, "lat": 29.33434 },
          { "lng": 120.591, "lat": 29.34845 },
          { "lng": 120.57546, "lat": 29.34092 },
          { "lng": 120.57836, "lat": 29.35743 },
          { "lng": 120.5542, "lat": 29.37008 },
          { "lng": 120.55422, "lat": 29.39117 },
          { "lng": 120.52483, "lat": 29.40046 },
          { "lng": 120.51338, "lat": 29.41644 },
          { "lng": 120.51201, "lat": 29.44212 },
          { "lng": 120.49414, "lat": 29.45811 },
          { "lng": 120.497929, "lat": 29.473231 },
          { "lng": 120.46146, "lat": 29.48492 },
          { "lng": 120.47792, "lat": 29.51191 },
          { "lng": 120.51699, "lat": 29.53173 },
          { "lng": 120.4985, "lat": 29.59148 },
          { "lng": 120.52292, "lat": 29.60966 },
          { "lng": 120.51236, "lat": 29.65129 },
          { "lng": 120.52422, "lat": 29.67886 },
          { "lng": 120.5344, "lat": 29.678 },
          { "lng": 120.53223, "lat": 29.70027 },
          { "lng": 120.56183, "lat": 29.71149 },
          { "lng": 120.57174, "lat": 29.70715 },
          { "lng": 120.58334, "lat": 29.7264 },
          { "lng": 120.63258, "lat": 29.746834 },
          { "lng": 120.65753, "lat": 29.74233 },
          { "lng": 120.67518, "lat": 29.72712 },
          { "lng": 120.67332, "lat": 29.70965 },
          { "lng": 120.69118, "lat": 29.6975 },
          { "lng": 120.69906, "lat": 29.69953 },
          { "lng": 120.71693, "lat": 29.71511 },
          { "lng": 120.72204, "lat": 29.74307 },
          { "lng": 120.75182, "lat": 29.76718 },
          { "lng": 120.74557, "lat": 29.77079 },
          { "lng": 120.75066, "lat": 29.79101 },
          { "lng": 120.76396, "lat": 29.8098 },
          { "lng": 120.78181, "lat": 29.8117 },
          { "lng": 120.8094, "lat": 29.82766 },
          { "lng": 120.83792, "lat": 29.82727 },
          { "lng": 120.83725, "lat": 29.79956 },
          { "lng": 120.84761, "lat": 29.79335 },
          { "lng": 120.86272, "lat": 29.74665 },
          { "lng": 120.8945, "lat": 29.75321 },
          { "lng": 120.9035, "lat": 29.73675 },
          { "lng": 120.92194, "lat": 29.73144 },
          { "lng": 120.94944, "lat": 29.74433 },
          { "lng": 120.95675, "lat": 29.73266 },
          { "lng": 120.98567, "lat": 29.74372 },
          { "lng": 121.02709, "lat": 29.73435 },
          { "lng": 121.02415, "lat": 29.72809 },
          { "lng": 121.036, "lat": 29.71745 },
          { "lng": 121.00964, "lat": 29.70899 },
          { "lng": 121.01411, "lat": 29.68946 },
          { "lng": 120.99052, "lat": 29.6795 },
          { "lng": 121.02095, "lat": 29.66977 },
          { "lng": 121.05092, "lat": 29.68414 },
          { "lng": 121.05881, "lat": 29.68384 },
          { "lng": 121.07489, "lat": 29.66081 },
          { "lng": 121.07624, "lat": 29.63337 },
          { "lng": 121.10478, "lat": 29.62245 },
          { "lng": 121.10604, "lat": 29.59122 },
          { "lng": 121.09914, "lat": 29.5812 },
          { "lng": 121.11299, "lat": 29.55481 },
          { "lng": 121.09301, "lat": 29.51255 },
          { "lng": 121.02681, "lat": 29.51689 },
          { "lng": 121.02761, "lat": 29.53775 },
          { "lng": 120.99054, "lat": 29.55677 },
          { "lng": 120.99099, "lat": 29.54381 },
          { "lng": 120.98341, "lat": 29.54217 },
          { "lng": 120.9522, "lat": 29.55355 },
          { "lng": 120.95259, "lat": 29.54036 },
          { "lng": 120.9218, "lat": 29.55501 },
          { "lng": 120.90744, "lat": 29.55175 },
          { "lng": 120.89296, "lat": 29.53273 },
          { "lng": 120.87561, "lat": 29.53951 },
          { "lng": 120.84794, "lat": 29.53399 },
          { "lng": 120.81821, "lat": 29.50802 },
          { "lng": 120.7967, "lat": 29.50644 },
          { "lng": 120.77867, "lat": 29.49614 },
          { "lng": 120.78724, "lat": 29.48478 },
          { "lng": 120.7761, "lat": 29.46634 },
          { "lng": 120.7762, "lat": 29.435327 },
          { "lng": 120.76874, "lat": 29.44519 },
          { "lng": 120.75795, "lat": 29.44238 },
          { "lng": 120.73324, "lat": 29.38012 }
        ]
      },
      {
        "id": "",
        "styleId": "",
        "paths": [
          { "lng": 121.2281, "lat": 29.4065 },
          { "lng": 121.231, "lat": 29.36358 },
          { "lng": 121.19342, "lat": 29.34141 },
          { "lng": 121.19684, "lat": 29.32648 },
          { "lng": 121.18047, "lat": 29.32919 },
          { "lng": 121.16739, "lat": 29.32254 },
          { "lng": 121.16058, "lat": 29.34011 },
          { "lng": 121.14985, "lat": 29.33087 },
          { "lng": 121.127, "lat": 29.33846 },
          { "lng": 121.11797, "lat": 29.33109 },
          { "lng": 121.1193, "lat": 29.30873 },
          { "lng": 121.1119, "lat": 29.30278 },
          { "lng": 121.09615, "lat": 29.30568 },
          { "lng": 121.0978, "lat": 29.31858 },
          { "lng": 121.0594, "lat": 29.3235 },
          { "lng": 121.02702, "lat": 29.30757 },
          { "lng": 121.02085, "lat": 29.31759 },
          { "lng": 121.00556, "lat": 29.31939 },
          { "lng": 120.99532, "lat": 29.31026 },
          { "lng": 120.96481, "lat": 29.30631 },
          { "lng": 120.95441, "lat": 29.2828 },
          { "lng": 120.91608, "lat": 29.30341 },
          { "lng": 120.90424, "lat": 29.29544 },
          { "lng": 120.904074, "lat": 29.276681 },
          { "lng": 120.88967, "lat": 29.26605 },
          { "lng": 120.89915, "lat": 29.23972 },
          { "lng": 120.86971, "lat": 29.24275 },
          { "lng": 120.85495, "lat": 29.25378 },
          { "lng": 120.8285, "lat": 29.23204 },
          { "lng": 120.80613, "lat": 29.23396 },
          { "lng": 120.77655, "lat": 29.22506 },
          { "lng": 120.77573, "lat": 29.27566 },
          { "lng": 120.75671, "lat": 29.28518 },
          { "lng": 120.77301, "lat": 29.30461 },
          { "lng": 120.75456, "lat": 29.3155 },
          { "lng": 120.72906, "lat": 29.31013 },
          { "lng": 120.71244, "lat": 29.30178 },
          { "lng": 120.69375, "lat": 29.31681 },
          { "lng": 120.70584, "lat": 29.33255 },
          { "lng": 120.70469, "lat": 29.34756 },
          { "lng": 120.73324, "lat": 29.38012 },
          { "lng": 120.75795, "lat": 29.44238 },
          { "lng": 120.76874, "lat": 29.44519 },
          { "lng": 120.7762, "lat": 29.435327 },
          { "lng": 120.7761, "lat": 29.46634 },
          { "lng": 120.78724, "lat": 29.48478 },
          { "lng": 120.77867, "lat": 29.49614 },
          { "lng": 120.7967, "lat": 29.50644 },
          { "lng": 120.81821, "lat": 29.50802 },
          { "lng": 120.84794, "lat": 29.53399 },
          { "lng": 120.87561, "lat": 29.53951 },
          { "lng": 120.89296, "lat": 29.53273 },
          { "lng": 120.90744, "lat": 29.55175 },
          { "lng": 120.9218, "lat": 29.55501 },
          { "lng": 120.95259, "lat": 29.54036 },
          { "lng": 120.9522, "lat": 29.55355 },
          { "lng": 120.98341, "lat": 29.54217 },
          { "lng": 120.99099, "lat": 29.54381 },
          { "lng": 120.99054, "lat": 29.55677 },
          { "lng": 121.02761, "lat": 29.53775 },
          { "lng": 121.02681, "lat": 29.51689 },
          { "lng": 121.09301, "lat": 29.51255 },
          { "lng": 121.11299, "lat": 29.55481 },
          { "lng": 121.13094, "lat": 29.55413 },
          { "lng": 121.13951, "lat": 29.543197 },
          { "lng": 121.16932, "lat": 29.53708 },
          { "lng": 121.22558, "lat": 29.5329 },
          { "lng": 121.23155, "lat": 29.51304 },
          { "lng": 121.22289, "lat": 29.50648 },
          { "lng": 121.22847, "lat": 29.49069 },
          { "lng": 121.21478, "lat": 29.46146 },
          { "lng": 121.22423, "lat": 29.44847 },
          { "lng": 121.21466, "lat": 29.41687 },
          { "lng": 121.22923, "lat": 29.41234 }
        ]
      },
      {
        "id": "",
        "styleId": "",
        "paths": [
          { "lng": 119.71345, "lat": 29.45615 },
          { "lng": 119.70964, "lat": 29.43415 },
          { "lng": 119.69118, "lat": 29.43875 },
          { "lng": 119.68346, "lat": 29.41859 },
          { "lng": 119.64448, "lat": 29.43406 },
          { "lng": 119.62534, "lat": 29.41928 },
          { "lng": 119.6083, "lat": 29.3876 },
          { "lng": 119.61858, "lat": 29.37843 },
          { "lng": 119.61629, "lat": 29.36823 },
          { "lng": 119.58209, "lat": 29.3791 },
          { "lng": 119.55148, "lat": 29.36729 },
          { "lng": 119.53429, "lat": 29.37273 },
          { "lng": 119.5121, "lat": 29.3367 },
          { "lng": 119.49234, "lat": 29.33103 },
          { "lng": 119.47879, "lat": 29.33358 },
          { "lng": 119.47603, "lat": 29.34518 },
          { "lng": 119.46144, "lat": 29.35088 },
          { "lng": 119.43897, "lat": 29.42357 },
          { "lng": 119.42779, "lat": 29.42213 },
          { "lng": 119.42675, "lat": 29.40551 },
          { "lng": 119.40561, "lat": 29.3999 },
          { "lng": 119.38855, "lat": 29.42969 },
          { "lng": 119.38062, "lat": 29.4312 },
          { "lng": 119.36832, "lat": 29.41567 },
          { "lng": 119.33709, "lat": 29.41111 },
          { "lng": 119.32781, "lat": 29.3969 },
          { "lng": 119.34017, "lat": 29.38233 },
          { "lng": 119.33283, "lat": 29.35372 },
          { "lng": 119.34845, "lat": 29.33622 },
          { "lng": 119.34821, "lat": 29.31804 },
          { "lng": 119.32322, "lat": 29.30681 },
          { "lng": 119.32903, "lat": 29.29436 },
          { "lng": 119.32263, "lat": 29.29614 },
          { "lng": 119.31831, "lat": 29.27986 },
          { "lng": 119.28812, "lat": 29.28097 },
          { "lng": 119.28717, "lat": 29.26743 },
          { "lng": 119.26092, "lat": 29.24778 },
          { "lng": 119.2393, "lat": 29.25889 },
          { "lng": 119.22875, "lat": 29.28415 },
          { "lng": 119.20029, "lat": 29.29035 },
          { "lng": 119.20402, "lat": 29.274056 },
          { "lng": 119.19178, "lat": 29.26004 },
          { "lng": 119.2148, "lat": 29.24691 },
          { "lng": 119.2132, "lat": 29.22532 },
          { "lng": 119.19085, "lat": 29.22845 },
          { "lng": 119.18952, "lat": 29.20516 },
          { "lng": 119.15177, "lat": 29.22786 },
          { "lng": 119.13154, "lat": 29.22108 },
          { "lng": 119.13259, "lat": 29.23542 },
          { "lng": 119.12645, "lat": 29.23709 },
          { "lng": 119.1064, "lat": 29.22748 },
          { "lng": 119.08521, "lat": 29.23057 },
          { "lng": 119.03904, "lat": 29.21836 },
          { "lng": 119.00187, "lat": 29.20853 },
          { "lng": 118.98716, "lat": 29.22603 },
          { "lng": 118.98826, "lat": 29.24353 },
          { "lng": 118.9793, "lat": 29.25893 },
          { "lng": 118.94965, "lat": 29.28172 },
          { "lng": 118.96307, "lat": 29.29507 },
          { "lng": 118.92707, "lat": 29.31035 },
          { "lng": 118.90045, "lat": 29.33262 },
          { "lng": 118.95577, "lat": 29.3536 },
          { "lng": 118.96095, "lat": 29.36359 },
          { "lng": 118.98431, "lat": 29.35885 },
          { "lng": 118.99455, "lat": 29.36834 },
          { "lng": 119.03054, "lat": 29.37637 },
          { "lng": 119.06721, "lat": 29.41252 },
          { "lng": 119.09888, "lat": 29.41765 },
          { "lng": 119.10059, "lat": 29.43467 },
          { "lng": 119.1148, "lat": 29.44636 },
          { "lng": 119.17908, "lat": 29.4539 },
          { "lng": 119.19092, "lat": 29.46258 },
          { "lng": 119.19187, "lat": 29.48663 },
          { "lng": 119.20666, "lat": 29.50812 },
          { "lng": 119.19915, "lat": 29.52482 },
          { "lng": 119.21041, "lat": 29.52937 },
          { "lng": 119.22951, "lat": 29.51785 },
          { "lng": 119.267677, "lat": 29.548806 },
          { "lng": 119.26706, "lat": 29.56107 },
          { "lng": 119.28598, "lat": 29.56844 },
          { "lng": 119.27824, "lat": 29.57287 },
          { "lng": 119.25585, "lat": 29.56476 },
          { "lng": 119.23497, "lat": 29.58205 },
          { "lng": 119.24732, "lat": 29.59756 },
          { "lng": 119.25431, "lat": 29.6266 },
          { "lng": 119.2931, "lat": 29.65063 },
          { "lng": 119.30553, "lat": 29.65137 },
          { "lng": 119.32331, "lat": 29.69315 },
          { "lng": 119.3483, "lat": 29.71509 },
          { "lng": 119.38359, "lat": 29.77093 },
          { "lng": 119.39882, "lat": 29.7443 },
          { "lng": 119.41137, "lat": 29.74524 },
          { "lng": 119.42263, "lat": 29.75844 },
          { "lng": 119.43989, "lat": 29.74221 },
          { "lng": 119.45897, "lat": 29.74491 },
          { "lng": 119.49382, "lat": 29.72126 },
          { "lng": 119.54053, "lat": 29.73729 },
          { "lng": 119.5495, "lat": 29.7499 },
          { "lng": 119.56916, "lat": 29.75167 },
          { "lng": 119.60402, "lat": 29.71349 },
          { "lng": 119.61615, "lat": 29.65677 },
          { "lng": 119.6731, "lat": 29.65562 },
          { "lng": 119.67102, "lat": 29.63912 },
          { "lng": 119.69489, "lat": 29.61996 },
          { "lng": 119.69301, "lat": 29.6026 },
          { "lng": 119.70408, "lat": 29.58761 },
          { "lng": 119.7186, "lat": 29.61042 },
          { "lng": 119.72984, "lat": 29.6137 },
          { "lng": 119.76532, "lat": 29.59638 },
          { "lng": 119.7642, "lat": 29.5573 },
          { "lng": 119.72283, "lat": 29.54249 },
          { "lng": 119.74131, "lat": 29.51425 },
          { "lng": 119.71886, "lat": 29.50525 },
          { "lng": 119.71895, "lat": 29.48806 },
          { "lng": 119.70679, "lat": 29.47234 }
        ]
      },
      {
        "id": "",
        "styleId": "",
        "paths": [
          { "lng": 120.485752, "lat": 27.543073 },
          { "lng": 120.488198, "lat": 27.527815 },
          { "lng": 120.466547, "lat": 27.506578 },
          { "lng": 120.486503, "lat": 27.491389 },
          { "lng": 120.515149, "lat": 27.496585 },
          { "lng": 120.515599, "lat": 27.509946 },
          { "lng": 120.530191, "lat": 27.519138 },
          { "lng": 120.531328, "lat": 27.532801 },
          { "lng": 120.587568, "lat": 27.517064 },
          { "lng": 120.587654, "lat": 27.469288 },
          { "lng": 120.597374, "lat": 27.467536 },
          { "lng": 120.606279, "lat": 27.478844 },
          { "lng": 120.619154, "lat": 27.469306 },
          { "lng": 120.654774, "lat": 27.473095 },
          { "lng": 120.684553, "lat": 27.467463 },
          { "lng": 120.669036, "lat": 27.44349 },
          { "lng": 120.651671, "lat": 27.443646 },
          { "lng": 120.654052, "lat": 27.431148 },
          { "lng": 120.64201, "lat": 27.422394 },
          { "lng": 120.647754, "lat": 27.413118 },
          { "lng": 120.64184, "lat": 27.402569 },
          { "lng": 120.650563, "lat": 27.404604 },
          { "lng": 120.651796, "lat": 27.397028 },
          { "lng": 120.641025, "lat": 27.391245 },
          { "lng": 120.65457, "lat": 27.391265 },
          { "lng": 120.648826, "lat": 27.361078 },
          { "lng": 120.637185, "lat": 27.368036 },
          { "lng": 120.63299, "lat": 27.36093 },
          { "lng": 120.622114, "lat": 27.361877 },
          { "lng": 120.62678, "lat": 27.373526 },
          { "lng": 120.61523, "lat": 27.374308 },
          { "lng": 120.616707, "lat": 27.389382 },
          { "lng": 120.60341, "lat": 27.386723 },
          { "lng": 120.59875, "lat": 27.377603 },
          { "lng": 120.564422, "lat": 27.40105 },
          { "lng": 120.548402, "lat": 27.400364 },
          { "lng": 120.55662, "lat": 27.388442 },
          { "lng": 120.544521, "lat": 27.391831 },
          { "lng": 120.54375, "lat": 27.384547 },
          { "lng": 120.56499, "lat": 27.376257 },
          { "lng": 120.557998, "lat": 27.36461 },
          { "lng": 120.53593, "lat": 27.35491 },
          { "lng": 120.539671, "lat": 27.334603 },
          { "lng": 120.512199, "lat": 27.334476 },
          { "lng": 120.529435, "lat": 27.322865 },
          { "lng": 120.546322, "lat": 27.327142 },
          { "lng": 120.545848, "lat": 27.315039 },
          { "lng": 120.567723, "lat": 27.324534 },
          { "lng": 120.557423, "lat": 27.317929 },
          { "lng": 120.559521, "lat": 27.305344 },
          { "lng": 120.544318, "lat": 27.297161 },
          { "lng": 120.558653, "lat": 27.299364 },
          { "lng": 120.567449, "lat": 27.292908 },
          { "lng": 120.547736, "lat": 27.288129 },
          { "lng": 120.554357, "lat": 27.281073 },
          { "lng": 120.542821, "lat": 27.272641 },
          { "lng": 120.522303, "lat": 27.274204 },
          { "lng": 120.528952, "lat": 27.260732 },
          { "lng": 120.52067, "lat": 27.257663 },
          { "lng": 120.52056, "lat": 27.248107 },
          { "lng": 120.542363, "lat": 27.240459 },
          { "lng": 120.529809, "lat": 27.229802 },
          { "lng": 120.535993, "lat": 27.221986 },
          { "lng": 120.520959, "lat": 27.223611 },
          { "lng": 120.522552, "lat": 27.215894 },
          { "lng": 120.51393, "lat": 27.211971 },
          { "lng": 120.523227, "lat": 27.192465 },
          { "lng": 120.500908, "lat": 27.188413 },
          { "lng": 120.479406, "lat": 27.163471 },
          { "lng": 120.46651, "lat": 27.173471 },
          { "lng": 120.461882, "lat": 27.19031 },
          { "lng": 120.470397, "lat": 27.195427 },
          { "lng": 120.458453, "lat": 27.219676 },
          { "lng": 120.448489, "lat": 27.206388 },
          { "lng": 120.435684, "lat": 27.210263 },
    .........完整代码请登录后点击上方下载按钮下载查看

网友评论0