mapbox的使用

目录

  • 实现效果
  • 文档
  • 实现步骤(在vue中)
    • 1.注册账号,获取Access Token
    • 2.安装mapbox-gl
    • 3.引入css
    • 4.初始化地图(3,4代码合并如下)
    • 5.添加点
    • 6.添加线
    • 7.添加光线
  • json数据

实现效果

mapbox的使用_第1张图片

文档

    mapbox官网
    mapbox中文官网
    快速开始直通车

实现步骤(在vue中)

1.注册账号,获取Access Token

    详情点击

2.安装mapbox-gl

npm install --save mapbox-gl

3.引入css

<style scoped lang="scss">
  @import url('https://api.tiles.mapbox.com/mapbox-gl-js/v1.1.1/mapbox-gl.css');
</style>

4.初始化地图(3,4代码合并如下)

<template>
  <div class="macro-view">
    <div class="map-chart" ref="mapChart"></div>
  </div>
</template>

<script>
  import { ref, onMounted} from 'vue'
  import mapboxgl from 'mapbox-gl';
  export default {
    name: 'MapboxView',
    setup() {
      const mapChart = ref(null)
      mapboxgl.accessToken = 'Your Access Token';
      
      onMounted(() => {
        map = new mapboxgl.Map({
          container: mapChart.value,
          style: 'mapbox://styles/mapbox/dark-v9',
          zoom: 4,
          center: [110, 36]
        })
      })
      
      return {
        mapChart
      }
    }
  }
</script>

<style scoped lang="scss">
@import url('https://api.tiles.mapbox.com/mapbox-gl-js/v1.1.1/mapbox-gl.css');
.macro-view {
  height: 100%;
  .map-chart {
    height: 100%;
    ::v-deep .mapboxgl-control-container {
      display: none;
    }
  }
}
</style>

mapbox的使用_第2张图片

5.添加点

<template>
  <div class="macro-view">
    <div class="map-chart" ref="mapChart"></div>
  </div>
</template>

<script>
import { ref, onMounted } from 'vue'
import mapboxgl from 'mapbox-gl'
import testJson from './test.json'

export default {
  name: 'MapboxView2',
  setup() {
    const mapChart = ref(null)
    mapboxgl.accessToken = 'Your Access Token'
    let map = null

    const imgIconSize = 30
    const pulsingDot = {
      width: imgIconSize,
      height: imgIconSize,
      data: new Uint8Array(imgIconSize * imgIconSize * 4),

      // When the layer is added to the map,
      // get the rendering context for the map canvas.
      onAdd: function () {
        const canvas = document.createElement('canvas')
        canvas.width = this.width
        canvas.height = this.height
        this.context = canvas.getContext('2d')
      },

      // Call once before every frame where the icon will be used.
      render: function () {
        const duration = 1000
        const t = (performance.now() % duration) / duration
        // const t = 1

        const radius = (imgIconSize / 2) * 0.5
        const outerRadius = (imgIconSize / 2) * 0.5 * t + radius
        const context = this.context

        // Draw the outer circle.
        context.clearRect(0, 0, this.width, this.height)
        context.beginPath()
        context.arc(this.width / 2, this.height / 2, outerRadius, 0, Math.PI * 2)
        context.fillStyle = `rgba(255, 200, 200, ${1 - t})`
        context.fill()

        // Draw the inner circle.
        context.beginPath()
        context.arc(this.width / 2, this.height / 2, radius, 0, Math.PI * 2)
        context.fillStyle = 'rgba(255, 100, 100, 1)'
        context.strokeStyle = 'white'
        // context.lineWidth = 2 + 4 * (1 - t)
        context.lineWidth = 2
        context.fill()
        context.stroke()

        // Update this image's data with data from the canvas.
        this.data = context.getImageData(0, 0, this.width, this.height).data

        // Continuously repaint the map, resulting
        // in the smooth animation of the dot.
        map.triggerRepaint()

        // Return `true` to let the map know that the image was updated.
        return true
      }
    }

    onMounted(() => {
      map = new mapboxgl.Map({
        container: mapChart.value,
        style: 'mapbox://styles/mapbox/dark-v9',
        zoom: 4,
        center: [110, 36]
      })

      map.on('load', () => {
        map.addImage('pulsing-dot', pulsingDot, { pixelRatio: 2 })

        map.addSource('earthquakes', {
          type: 'geojson',
          data: testJson
        })
        map.addLayer({
          id: 'clusters',
          maxZoom: 24,
          minZoom: 0,
          type: 'symbol',
          source: 'earthquakes',
          layout: {
            'icon-allow-overlap': true,
            'icon-image': 'pulsing-dot'
          }
        })
      })
    })

    return {
      mapChart
    }
  }
}
</script>

<style scoped lang="scss">
@import url('https://api.tiles.mapbox.com/mapbox-gl-js/v1.1.1/mapbox-gl.css');
.macro-view {
  height: 100%;
  .map-chart {
    height: 100%;
    ::v-deep .mapboxgl-control-container {
      display: none;
    }
  }
}
</style>

mapbox的使用_第3张图片

6.添加线

    在index.html中引入

<script src='https://api.tiles.mapbox.com/mapbox.js/plugins/turf/v2.0.0/turf.min.js' charset='utf-8'></script>
<template>
  <div class="macro-view">
    <div class="map-chart" ref="mapChart"></div>
  </div>
</template>

<script>
import { ref, onMounted } from 'vue'
import mapboxgl from 'mapbox-gl'
import testJson from './test.json'
import routeDraftJson from './routeDraft.json'

export default {
  name: 'MapboxView2',
  setup() {
    const mapChart = ref(null)
    mapboxgl.accessToken = 'Your Access Token'
    let map = null
    const turf = window.turf

    const imgIconSize = 30
    const pulsingDot = {
      width: imgIconSize,
      height: imgIconSize,
      data: new Uint8Array(imgIconSize * imgIconSize * 4),

      // When the layer is added to the map,
      // get the rendering context for the map canvas.
      onAdd: function () {
        const canvas = document.createElement('canvas')
        canvas.width = this.width
        canvas.height = this.height
        this.context = canvas.getContext('2d')
      },

      // Call once before every frame where the icon will be used.
      render: function () {
        const duration = 1000
        const t = (performance.now() % duration) / duration
        // const t = 1

        const radius = (imgIconSize / 2) * 0.5
        const outerRadius = (imgIconSize / 2) * 0.5 * t + radius
        const context = this.context

        // Draw the outer circle.
        context.clearRect(0, 0, this.width, this.height)
        context.beginPath()
        context.arc(this.width / 2, this.height / 2, outerRadius, 0, Math.PI * 2)
        context.fillStyle = `rgba(255, 200, 200, ${1 - t})`
        context.fill()

        // Draw the inner circle.
        context.beginPath()
        context.arc(this.width / 2, this.height / 2, radius, 0, Math.PI * 2)
        context.fillStyle = 'rgba(255, 100, 100, 1)'
        context.strokeStyle = 'white'
        // context.lineWidth = 2 + 4 * (1 - t)
        context.lineWidth = 2
        context.fill()
        context.stroke()

        // Update this image's data with data from the canvas.
        this.data = context.getImageData(0, 0, this.width, this.height).data

        // Continuously repaint the map, resulting
        // in the smooth animation of the dot.
        map.triggerRepaint()

        // Return `true` to let the map know that the image was updated.
        return true
      }
    }

    class RouteDraft {
      constructor(opt) {
        this.id = opt.id
        this.origin = opt.origin
        this.destination = opt.destination
        this.route = {
          type: 'FeatureCollection',
          features: [
            {
              type: 'Feature',
              geometry: {
                type: 'LineString',
                coordinates: [this.origin, this.destination]
              }
            }
          ]
        }

        this.lineDistance = turf.lineDistance(this.route.features[0], 'kilometers')
        this.arc = []
        this.steps = Math.floor(this.lineDistance / 5)
        const stepLength = this.lineDistance / this.steps
        for (let i = 0; i < this.lineDistance; i += stepLength) {
          const segment = turf.along(this.route.features[0], i, 'kilometers')
          this.arc.push(segment.geometry.coordinates)
        }
        this.route.features[0].geometry.coordinates = this.arc
        this.counter = 0

        this.run()
      }
      run() {
        map.addSource(this.id + 'routeSource', {
          type: 'geojson',
          data: this.route
        })
        map.addLayer({
          id: this.id + 'route',
          source: this.id + 'routeSource',
          type: 'line',
          paint: {
            'line-width': 1,
            'line-color': 'rgba(255,255,255,0.2)'
          }
        })
      }
    }
    const routeDraftArr = routeDraftJson
    const routeDraftInit = () => {
      routeDraftArr.forEach((item, index) => {
        item.lineId = 'RouteDraft-' + index
        new RouteDraft({
          id: item.lineId,
          origin: item.city1.geometry.coordinates,
          destination: item.city2.geometry.coordinates
        })
      })
    }

    onMounted(() => {
      map = new mapboxgl.Map({
        container: mapChart.value,
        style: 'mapbox://styles/mapbox/dark-v9',
        zoom: 4,
        center: [110, 36]
      })

      map.on('load', () => {
        routeDraftInit()

        map.addImage('pulsing-dot', pulsingDot, { pixelRatio: 2 })

        map.addSource('earthquakes', {
          type: 'geojson',
          data: testJson
        })
        map.addLayer({
          id: 'clusters',
          maxZoom: 24,
          minZoom: 0,
          type: 'symbol',
          source: 'earthquakes',
          layout: {
            'icon-allow-overlap': true,
            'icon-image': 'pulsing-dot'
          }
        })
      })
    })

    return {
      mapChart
    }
  }
}
</script>

<style scoped lang="scss">
@import url('https://api.tiles.mapbox.com/mapbox-gl-js/v1.1.1/mapbox-gl.css');
.macro-view {
  height: 100%;
  .map-chart {
    height: 100%;
    ::v-deep .mapboxgl-control-container {
      display: none;
    }
  }
}
</style>

mapbox的使用_第4张图片

7.添加光线

<template>
  <div class="macro-view">
    <div class="map-chart" ref="mapChart"></div>
  </div>
</template>

<script>
import { ref, onMounted, onBeforeUnmount } from 'vue'
import mapboxgl from 'mapbox-gl'
import testJson from './test.json'
import routeDraftJson from './routeDraft.json'
import { Rand } from '@/util/helper'

const routeArr = []
let requestTimer = null
let Route = null
let map = null
const rander = () => {
  if (routeArr.length < 9) {
    const index = Rand(0, routeDraftJson.length - 1)
    const direction = Rand(0, 1)
    if (direction) {
      routeArr.push(
        new Route({
          origin: routeDraftJson[index].city1.geometry.coordinates,
          destination: routeDraftJson[index].city2.geometry.coordinates
        })
      )
    } else {
      routeArr.push(
        new Route({
          origin: routeDraftJson[index].city2.geometry.coordinates,
          destination: routeDraftJson[index].city1.geometry.coordinates
        })
      )
    }
  }

  for (let i = 0; i < routeArr.length; i++) {
    if (routeArr[i].counter >= routeArr[i].steps + routeArr[i].data2Length - 1) {
      routeArr[i].animateEnd()
      routeArr.splice(i, 1)
      i--
    } else {
      routeArr[i].animate()
    }
  }
  requestTimer = window.requestAnimationFrame(rander)
}

export default {
  name: 'MapboxView2',
  setup() {
    const mapChart = ref(null)
    mapboxgl.accessToken = 'Your Access Token'
    const turf = window.turf

    const imgIconSize = 30
    const pulsingDot = {
      width: imgIconSize,
      height: imgIconSize,
      data: new Uint8Array(imgIconSize * imgIconSize * 4),

      // When the layer is added to the map,
      // get the rendering context for the map canvas.
      onAdd: function () {
        const canvas = document.createElement('canvas')
        canvas.width = this.width
        canvas.height = this.height
        this.context = canvas.getContext('2d')
      },

      // Call once before every frame where the icon will be used.
      render: function () {
        const duration = 1000
        const t = (performance.now() % duration) / duration
        // const t = 1

        const radius = (imgIconSize / 2) * 0.5
        const outerRadius = (imgIconSize / 2) * 0.5 * t + radius
        const context = this.context

        // Draw the outer circle.
        context.clearRect(0, 0, this.width, this.height)
        context.beginPath()
        context.arc(this.width / 2, this.height / 2, outerRadius, 0, Math.PI * 2)
        context.fillStyle = `rgba(255, 200, 200, ${1 - t})`
        context.fill()

        // Draw the inner circle.
        context.beginPath()
        context.arc(this.width / 2, this.height / 2, radius, 0, Math.PI * 2)
        context.fillStyle = 'rgba(255, 100, 100, 1)'
        context.strokeStyle = 'white'
        // context.lineWidth = 2 + 4 * (1 - t)
        context.lineWidth = 2
        context.fill()
        context.stroke()

        // Update this image's data with data from the canvas.
        this.data = context.getImageData(0, 0, this.width, this.height).data

        // Continuously repaint the map, resulting
        // in the smooth animation of the dot.
        map.triggerRepaint()

        // Return `true` to let the map know that the image was updated.
        return true
      }
    }

    class RouteDraft {
      constructor(opt) {
        this.id = opt.id
        this.origin = opt.origin
        this.destination = opt.destination
        this.route = {
          type: 'FeatureCollection',
          features: [
            {
              type: 'Feature',
              geometry: {
                type: 'LineString',
                coordinates: [this.origin, this.destination]
              }
            }
          ]
        }

        this.lineDistance = turf.lineDistance(this.route.features[0], 'kilometers')
        this.arc = []
        this.steps = Math.floor(this.lineDistance / 5)
        const stepLength = this.lineDistance / this.steps
        for (let i = 0; i < this.lineDistance; i += stepLength) {
          const segment = turf.along(this.route.features[0], i, 'kilometers')
          this.arc.push(segment.geometry.coordinates)
        }
        this.route.features[0].geometry.coordinates = this.arc
        this.counter = 0

        this.run()
      }
      run() {
        map.addSource(this.id + 'routeSource', {
          type: 'geojson',
          data: this.route
        })
        map.addLayer({
          id: this.id + 'route',
          source: this.id + 'routeSource',
          type: 'line',
          paint: {
            'line-width': 1,
            'line-color': 'rgba(255,255,255,0.2)'
          }
        })
      }
    }
    const routeDraftArr = routeDraftJson
    const routeDraftInit = () => {
      routeDraftArr.forEach((item, index) => {
        item.lineId = 'RouteDraft-' + index
        new RouteDraft({
          id: item.lineId,
          origin: item.city1.geometry.coordinates,
          destination: item.city2.geometry.coordinates
        })
      })
    }

    class RouteClass {
      constructor(opt) {
        this.id = new Date().getTime()
        this.origin = opt.origin
        this.destination = opt.destination
        this.route = {
          type: 'FeatureCollection',
          features: [
            {
              type: 'Feature',
              geometry: {
                type: 'LineString',
                coordinates: [this.origin, this.destination]
              }
            }
          ]
        }
        this.route2 = {
          type: 'FeatureCollection',
          features: [
            {
              type: 'Feature',
              geometry: {
                type: 'LineString',
                coordinates: []
              }
            }
          ]
        }

        this.lineDistance = turf.lineDistance(this.route.features[0], 'kilometers')
        this.arc = []
        this.data2Length = 30
        const route2Data = []
        this.steps = Math.floor(this.lineDistance / 5)
        const stepLength = this.lineDistance / this.steps
        for (let i = 0; i < this.lineDistance; i += stepLength) {
          const segment = turf.along(this.route.features[0], i, 'kilometers')
          this.arc.push(segment.geometry.coordinates)
          if (i < this.data2Length * stepLength) {
            route2Data.push(segment.geometry.coordinates)
          }
        }
        this.route.features[0].geometry.coordinates = this.arc
        this.route2.features[0].geometry.coordinates = route2Data
        this.counter = 0

        this.run()
      }
      run() {
        map.addSource(this.id + 'routeSource', {
          type: 'geojson',
          data: this.route
        })
        map.addLayer({
          id: this.id + 'route',
          source: this.id + 'routeSource',
          type: 'line',
          paint: {
            'line-width': 2,
            'line-color': 'transparent'
          }
        })
        map.addSource(this.id + 'route2Source', {
          type: 'geojson',
          lineMetrics: true,
          data: this.route2
        })
        map.addLayer({
          id: this.id + 'route2',
          source: this.id + 'route2Source',
          type: 'line',
          paint: {
            'line-width': 2,
            'line-color': 'white',
            'line-gradient': ['interpolate', ['linear'], ['line-progress'], 0, 'transparent', 1, 'rgba(255, 100, 100, 1)']
          }
        })
      }
      animate() {
        const route2Data = []
        for (let i = this.counter; i < this.counter + this.data2Length; i++) {
          if (this.arc[i]) {
            route2Data.push(this.arc[i])
          }
        }
        this.route2.features[0].geometry.coordinates = route2Data
        map.getSource(this.id + 'route2Source').setData(this.route2)
        this.counter = this.counter + 10
      }
      animateEnd() {
        map.removeLayer(this.id + 'route')
        map.removeLayer(this.id + 'route2')
        map.removeSource(this.id + 'routeSource')
        map.removeSource(this.id + 'route2Source')
      }
    }
    Route = RouteClass

    onMounted(() => {
      map = new mapboxgl.Map({
        container: mapChart.value,
        style: 'mapbox://styles/mapbox/dark-v9',
        zoom: 4,
        center: [110, 36]
      })

      map.on('load', () => {
        routeDraftInit()

        map.addImage('pulsing-dot', pulsingDot, { pixelRatio: 2 })

        map.addSource('earthquakes', {
          type: 'geojson',
          data: testJson
        })
        map.addLayer({
          id: 'clusters',
          maxZoom: 24,
          minZoom: 0,
          type: 'symbol',
          source: 'earthquakes',
          layout: {
            'icon-allow-overlap': true,
            'icon-image': 'pulsing-dot'
          }
        })

        requestTimer = window.requestAnimationFrame(rander)
      })
    })

    onBeforeUnmount(() => {
      requestTimer && window.cancelAnimationFrame(requestTimer)
    })

    return {
      mapChart
    }
  }
}
</script>

<style scoped lang="scss">
@import url('https://api.tiles.mapbox.com/mapbox-gl-js/v1.1.1/mapbox-gl.css');
.macro-view {
  height: 100%;
  .map-chart {
    height: 100%;
    ::v-deep .mapboxgl-control-container {
      display: none;
    }
  }
}
</style>

mapbox的使用_第5张图片

json数据

    test.json

{
  "type": "FeatureCollection",
  "crs": {
    "type": "name",
    "properties": {
      "name": "urn:ogc:def:crs:OGC:1.3:CRS84"
    }
  },
  "features": [
    {
      "type": "Feature",
      "properties": {
        "name": "北京市",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          116.405285,
          39.904989
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "天津市",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          117.190182,
          39.125596
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "河北省",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          114.502461,
          38.045474
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "山西省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          112.549248,
          37.857014
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "内蒙古自治区",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          111.670801,
          40.818311
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "辽宁省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          123.429096,
          41.796767
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "吉林省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          125.3245,
          43.886841
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "黑龙江省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          126.642464,
          45.756967
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "上海市",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          121.472644,
          31.231706
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "江苏省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          118.767413,
          32.041544
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "浙江省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          120.153576,
          30.287459
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "安徽省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          117.283042,
          31.86119
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "福建省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          119.306239,
          26.075302
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "江西省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          115.892151,
          28.676493
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "山东省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          117.000923,
          36.675807
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "河南省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          113.665412,
          34.757975
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "湖北省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          114.298572,
          30.584355
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "湖南省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          112.982279,
          28.19409
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "广东省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          113.280637,
          23.125178
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "广西壮族自治区",
        "next": 2
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          108.320004,
          22.82402
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "海南省",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          110.33119,
          20.031971
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "重庆市",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          106.504962,
          29.533155
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "四川省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          104.065735,
          30.659462
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "贵州省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          106.713478,
          26.578343
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "云南省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          102.712251,
          25.040609
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "西藏自治区",
        "next": 2
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          91.132212,
          29.660361
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "陕西省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          108.948024,
          34.263161
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "甘肃省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          103.823557,
          36.058039
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "青海省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          101.778916,
          36.623178
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "宁夏回族自治区",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          106.278179,
          38.46637
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "新疆维吾尔自治区",
        "next": 2
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          87.617733,
          43.792818
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "台湾省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          121.509062,
          25.044332
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "香港特别行政区",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          114.173355,
          22.320048
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {
        "name": "澳门特别行政区",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          113.54909,
          22.198951
        ]
      }
    }
  ]
}

    routeDraft.json

[
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "北京市",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          116.405285,
          39.904989
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "重庆市",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          106.504962,
          29.533155
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "北京市",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          116.405285,
          39.904989
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "湖北省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          114.298572,
          30.584355
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "北京市",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          116.405285,
          39.904989
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "西藏自治区",
        "next": 2
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          91.132212,
          29.660361
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "北京市",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          116.405285,
          39.904989
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "陕西省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          108.948024,
          34.263161
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "北京市",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          116.405285,
          39.904989
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "海南省",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          110.33119,
          20.031971
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "天津市",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          117.190182,
          39.125596
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "吉林省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          125.3245,
          43.886841
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "天津市",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          117.190182,
          39.125596
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "甘肃省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          103.823557,
          36.058039
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "天津市",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          117.190182,
          39.125596
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "澳门特别行政区",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          113.54909,
          22.198951
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "天津市",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          117.190182,
          39.125596
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "安徽省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          117.283042,
          31.86119
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "天津市",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          117.190182,
          39.125596
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "甘肃省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          103.823557,
          36.058039
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "河北省",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          114.502461,
          38.045474
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "云南省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          102.712251,
          25.040609
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "河北省",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          114.502461,
          38.045474
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "安徽省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          117.283042,
          31.86119
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "河北省",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          114.502461,
          38.045474
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "福建省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          119.306239,
          26.075302
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "河北省",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          114.502461,
          38.045474
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "贵州省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          106.713478,
          26.578343
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "河北省",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          114.502461,
          38.045474
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "海南省",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          110.33119,
          20.031971
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "山西省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          112.549248,
          37.857014
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "江苏省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          118.767413,
          32.041544
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "山西省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          112.549248,
          37.857014
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "山东省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          117.000923,
          36.675807
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "山西省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          112.549248,
          37.857014
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "陕西省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          108.948024,
          34.263161
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "内蒙古自治区",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          111.670801,
          40.818311
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "新疆维吾尔自治区",
        "next": 2
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          87.617733,
          43.792818
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "内蒙古自治区",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          111.670801,
          40.818311
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "上海市",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          121.472644,
          31.231706
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "内蒙古自治区",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          111.670801,
          40.818311
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "台湾省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          121.509062,
          25.044332
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "辽宁省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          123.429096,
          41.796767
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "台湾省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          121.509062,
          25.044332
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "辽宁省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          123.429096,
          41.796767
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "广西壮族自治区",
        "next": 2
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          108.320004,
          22.82402
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "辽宁省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          123.429096,
          41.796767
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "江西省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          115.892151,
          28.676493
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "吉林省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          125.3245,
          43.886841
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "海南省",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          110.33119,
          20.031971
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "吉林省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          125.3245,
          43.886841
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "江苏省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          118.767413,
          32.041544
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "吉林省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          125.3245,
          43.886841
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "广东省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          113.280637,
          23.125178
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "黑龙江省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          126.642464,
          45.756967
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "西藏自治区",
        "next": 2
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          91.132212,
          29.660361
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "黑龙江省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          126.642464,
          45.756967
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "海南省",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          110.33119,
          20.031971
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "黑龙江省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          126.642464,
          45.756967
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "台湾省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          121.509062,
          25.044332
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "上海市",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          121.472644,
          31.231706
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "湖北省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          114.298572,
          30.584355
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "上海市",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          121.472644,
          31.231706
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "台湾省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          121.509062,
          25.044332
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "上海市",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          121.472644,
          31.231706
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "台湾省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          121.509062,
          25.044332
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "上海市",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          121.472644,
          31.231706
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "陕西省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          108.948024,
          34.263161
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "上海市",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          121.472644,
          31.231706
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "江苏省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          118.767413,
          32.041544
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "江苏省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          118.767413,
          32.041544
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "河南省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          113.665412,
          34.757975
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "江苏省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          118.767413,
          32.041544
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "内蒙古自治区",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          111.670801,
          40.818311
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "江苏省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          118.767413,
          32.041544
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "内蒙古自治区",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          111.670801,
          40.818311
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "浙江省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          120.153576,
          30.287459
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "辽宁省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          123.429096,
          41.796767
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "浙江省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          120.153576,
          30.287459
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "贵州省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          106.713478,
          26.578343
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "浙江省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          120.153576,
          30.287459
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "山东省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          117.000923,
          36.675807
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "安徽省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          117.283042,
          31.86119
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "重庆市",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          106.504962,
          29.533155
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "安徽省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          117.283042,
          31.86119
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "重庆市",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          106.504962,
          29.533155
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "安徽省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          117.283042,
          31.86119
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "贵州省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          106.713478,
          26.578343
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "福建省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          119.306239,
          26.075302
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "青海省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          101.778916,
          36.623178
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "福建省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          119.306239,
          26.075302
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "内蒙古自治区",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          111.670801,
          40.818311
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "福建省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          119.306239,
          26.075302
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "吉林省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          125.3245,
          43.886841
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "江西省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          115.892151,
          28.676493
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "贵州省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          106.713478,
          26.578343
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "江西省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          115.892151,
          28.676493
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "上海市",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          121.472644,
          31.231706
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "山东省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          117.000923,
          36.675807
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "江西省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          115.892151,
          28.676493
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "山东省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          117.000923,
          36.675807
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "广西壮族自治区",
        "next": 2
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          108.320004,
          22.82402
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "山东省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          117.000923,
          36.675807
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "香港特别行政区",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          114.173355,
          22.320048
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "河南省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          113.665412,
          34.757975
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "重庆市",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          106.504962,
          29.533155
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "河南省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          113.665412,
          34.757975
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "宁夏回族自治区",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          106.278179,
          38.46637
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "河南省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          113.665412,
          34.757975
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "上海市",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          121.472644,
          31.231706
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "湖北省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          114.298572,
          30.584355
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "上海市",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          121.472644,
          31.231706
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "湖北省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          114.298572,
          30.584355
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "上海市",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          121.472644,
          31.231706
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "湖北省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          114.298572,
          30.584355
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "云南省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          102.712251,
          25.040609
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "湖南省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          112.982279,
          28.19409
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "江西省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          115.892151,
          28.676493
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "湖南省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          112.982279,
          28.19409
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "黑龙江省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          126.642464,
          45.756967
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "广东省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          113.280637,
          23.125178
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "青海省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          101.778916,
          36.623178
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "广东省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          113.280637,
          23.125178
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "江西省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          115.892151,
          28.676493
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "广东省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          113.280637,
          23.125178
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "台湾省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          121.509062,
          25.044332
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "广西壮族自治区",
        "next": 2
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          108.320004,
          22.82402
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "山东省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          117.000923,
          36.675807
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "广西壮族自治区",
        "next": 2
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          108.320004,
          22.82402
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "浙江省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          120.153576,
          30.287459
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "海南省",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          110.33119,
          20.031971
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "江西省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          115.892151,
          28.676493
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "海南省",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          110.33119,
          20.031971
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "北京市",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          116.405285,
          39.904989
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "海南省",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          110.33119,
          20.031971
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "福建省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          119.306239,
          26.075302
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "海南省",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          110.33119,
          20.031971
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "甘肃省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          103.823557,
          36.058039
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "海南省",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          110.33119,
          20.031971
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "澳门特别行政区",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          113.54909,
          22.198951
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "重庆市",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          106.504962,
          29.533155
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "广西壮族自治区",
        "next": 2
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          108.320004,
          22.82402
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "重庆市",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          106.504962,
          29.533155
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "河北省",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          114.502461,
          38.045474
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "重庆市",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          106.504962,
          29.533155
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "台湾省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          121.509062,
          25.044332
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "四川省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          104.065735,
          30.659462
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "青海省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          101.778916,
          36.623178
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "四川省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          104.065735,
          30.659462
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "吉林省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          125.3245,
          43.886841
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "四川省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          104.065735,
          30.659462
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "青海省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          101.778916,
          36.623178
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "贵州省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          106.713478,
          26.578343
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "内蒙古自治区",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          111.670801,
          40.818311
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "贵州省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          106.713478,
          26.578343
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "福建省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          119.306239,
          26.075302
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "贵州省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          106.713478,
          26.578343
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "河南省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          113.665412,
          34.757975
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "云南省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          102.712251,
          25.040609
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "黑龙江省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          126.642464,
          45.756967
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "云南省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          102.712251,
          25.040609
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "山西省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          112.549248,
          37.857014
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "云南省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          102.712251,
          25.040609
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "福建省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          119.306239,
          26.075302
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "西藏自治区",
        "next": 2
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          91.132212,
          29.660361
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "山东省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          117.000923,
          36.675807
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "西藏自治区",
        "next": 2
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          91.132212,
          29.660361
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "云南省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          102.712251,
          25.040609
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "陕西省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          108.948024,
          34.263161
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "香港特别行政区",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          114.173355,
          22.320048
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "陕西省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          108.948024,
          34.263161
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "福建省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          119.306239,
          26.075302
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "陕西省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          108.948024,
          34.263161
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "河北省",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          114.502461,
          38.045474
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "甘肃省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          103.823557,
          36.058039
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "湖北省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          114.298572,
          30.584355
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "甘肃省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          103.823557,
          36.058039
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "香港特别行政区",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          114.173355,
          22.320048
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "甘肃省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          103.823557,
          36.058039
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "广东省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          113.280637,
          23.125178
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "青海省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          101.778916,
          36.623178
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "甘肃省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          103.823557,
          36.058039
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "青海省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          101.778916,
          36.623178
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "河南省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          113.665412,
          34.757975
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "青海省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          101.778916,
          36.623178
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "山东省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          117.000923,
          36.675807
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "宁夏回族自治区",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          106.278179,
          38.46637
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "福建省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          119.306239,
          26.075302
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "宁夏回族自治区",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          106.278179,
          38.46637
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "黑龙江省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          126.642464,
          45.756967
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "宁夏回族自治区",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          106.278179,
          38.46637
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "北京市",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          116.405285,
          39.904989
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "新疆维吾尔自治区",
        "next": 2
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          87.617733,
          43.792818
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "甘肃省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          103.823557,
          36.058039
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "新疆维吾尔自治区",
        "next": 2
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          87.617733,
          43.792818
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "天津市",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          117.190182,
          39.125596
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "台湾省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          121.509062,
          25.044332
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "福建省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          119.306239,
          26.075302
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "台湾省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          121.509062,
          25.044332
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "黑龙江省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          126.642464,
          45.756967
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "台湾省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          121.509062,
          25.044332
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "海南省",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          110.33119,
          20.031971
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "香港特别行政区",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          114.173355,
          22.320048
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "北京市",
        "next": 5
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          116.405285,
          39.904989
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "香港特别行政区",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          114.173355,
          22.320048
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "山西省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          112.549248,
          37.857014
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "香港特别行政区",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          114.173355,
          22.320048
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "贵州省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          106.713478,
          26.578343
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "澳门特别行政区",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          113.54909,
          22.198951
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "安徽省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          117.283042,
          31.86119
        ]
      }
    }
  },
  {
    "city1": {
      "type": "Feature",
      "properties": {
        "name": "澳门特别行政区",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          113.54909,
          22.198951
        ]
      }
    },
    "city2": {
      "type": "Feature",
      "properties": {
        "name": "江苏省",
        "next": 3
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          118.767413,
          32.041544
        ]
      }
    }
  }
]

你可能感兴趣的:(随笔,javascript,前端,vue.js)