echarts 地图数据

地图经纬数据 http://datav.aliyun.com/tools/atlas/#&lat=31.769817845138945&lng=104.29901249999999&zoom=4

例子有删减

{
  "code": 200,
  "result": true,
  "data": {
    "cityCode": "316000",
    "cityName": "舟山市",
    "mapPosition": {
      "top": 101,
      "left": 150,
      "aspectScale": 0.8
    },
    "map": {
      "type": "FeatureCollection",
      "features": [{
        "type": "Feature",
        "properties": {
          "adcode": 330902,
          "name": "定海分局",
          "center": [122.108496, 30.016423],
          "centroid": [122.109143, 30.07103],
          "childrenNum": 0,
          "level": "district",
          "parent": {
            "adcode": 330900
          },
          "subFeatureIndex": 0,
          "acroutes": [100000, 330000, 330900]
        },
        "geometry": {
          "type": "MultiPolygon",
          "coordinates": [
            [
              [
                [122.256902, 30.065102],
                [122.250755, 30.054848],
                [122.245972, 30.049335],
                [122.245599, 30.041254]
              ]
            ]
          ]
        }
      }]
    },
    "area": {
      "type": "Feature",
      "properties": {
        "adcode": 330900,
        "name": "舟山市",
        "center": [122.106863, 30.016028],
        "centroid": [122.146626, 30.056537],
        "childrenNum": 6,
        "level": "city",
        "subFeatureIndex": 8,
        "acroutes": [100000, 330000]
      },
      "geometry": {
        "type": "MultiPolygon",
        "coordinates": [
          [
            [
              [122.300687, 29.894646],
              [122.309496, 29.896084],
              [122.314713, 29.88943],
              [122.299899, 29.890539],
              [122.300687, 29.894646]
            ]
          ]
        ]
      }
    }
  },
  "message": "请求成功!"
}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值