Newer
Older
robot_dog_patrol_front / src / views / home / dashboard / components / mapData.ts
// 北京各个区坐标数据 // 取数据地址https://datav.aliyun.com/portal/school/atlas/area_selector#&lat=30.332329214580188&lng=106.72278672066881&zoom=3.5
import yanqing from '@/assets/map/yanqing.json'
import huairou from '@/assets/map/huairou.json'
import miyun from '@/assets/map/miyun.json'
import pinggu from '@/assets/map/pinggu.json'
import shunyi from '@/assets/map/shunyi.json'
import changping from '@/assets/map/changping.json'
import mentougou from '@/assets/map/mentougou.json'
import shijingshan from '@/assets/map/shijingshan.json'
import haidian from '@/assets/map/haidian.json'
import chaoyang from '@/assets/map/chaoyang.json'
import tongzhou from '@/assets/map/tongzhou.json'
import dongcheng from '@/assets/map/dongcheng.json'
import xicheng from '@/assets/map/xicheng.json'
import fengtai from '@/assets/map/fengtai.json'
import fangshan from '@/assets/map/fangshan.json'
import daxing from '@/assets/map/daxing.json'
const yanqingData = yanqing.features[0].geometry.coordinates
const huairouData = huairou.features[0].geometry.coordinates
const miyunData = miyun.features[0].geometry.coordinates
const pingguData = pinggu.features[0].geometry.coordinates
const shunyiData = shunyi.features[0].geometry.coordinates
const changpingData = changping.features[0].geometry.coordinates
const mentougouData = mentougou.features[0].geometry.coordinates
const shijingshanData = shijingshan.features[0].geometry.coordinates
const haidianData = haidian.features[0].geometry.coordinates
const chaoyangData = chaoyang.features[0].geometry.coordinates
const tongzhouData = tongzhou.features[0].geometry.coordinates
const dongchengData = dongcheng.features[0].geometry.coordinates
const xichengData = xicheng.features[0].geometry.coordinates
const fengtaiData = fengtai.features[0].geometry.coordinates
const fangshanData = fangshan.features[0].geometry.coordinates
const daxingData = daxing.features[0].geometry.coordinates

export const mapData = [
  {
    name: '延庆区',
    data: yanqingData,
    center: [116.161222, 40.548786],
    deptName: '第一分公司',
    area: '1993.75',
    long: '12.3',
    tyz: '22',
    tyx: '25',
    well: '87',
    rate: '80',
  },
  {
    name: '怀柔区',
    data: huairouData,
    center: [116.617155, 40.750918],
    deptName: '第五分公司',
    area: '2122.8',
    long: '32.1',
    tyz: '32',
    tyx: '32',
    well: '89',
    rate: '60',
  },
  {
    name: '密云区',
    data: miyunData,
    center: [116.952238, 40.53835],
    deptName: '第五分公司',
    area: '2229.45',
    long: '27',
    tyz: '30',
    tyx: '38',
    well: '55',
    rate: '67',
  },
  {
    name: '平谷区',
    data: pingguData,
    center: [117.139005, 40.222423],
    deptName: '第四分公司',
    area: '948.24',
    long: '56',
    tyz: '66',
    tyx: '56',
    well: '102',
    rate: '77',
  },
  {
    name: '顺义区',
    data: shunyiData,
    center: [116.702299, 40.163678],
    deptName: '第三分公司',
    area: '1021',
    long: '54',
    tyz: '44',
    tyx: '44',
    well: '122',
    rate: '75',
  },
  {
    name: '昌平区',
    data: changpingData,
    center: [116.23, 40.22],
    deptName: '第三分公司',
    area: '1343.5',
    long: '69',
    tyz: '33',
    tyx: '45',
    well: '112',
    rate: '79',
  },
  {
    name: '门头沟区',
    data: mentougouData,
    center: [115.768461, 40.013437],
    deptName: '第四分公司',
    area: '1447.85',
    long: '34',
    tyz: '12',
    tyx: '12',
    well: '41',
    rate: '56',
  },
  {
    name: '石景山区',
    data: shijingshanData,
    center: [116.16933, 39.941635],
    deptName: '第三分公司',
    area: '85.74',
    long: '22',
    tyz: '19',
    tyx: '18',
    well: '141',
    rate: '85',
  },
  {
    name: '海淀区',
    data: haidianData,
    center: [116.213366, 40.040809],
    deptName: '第三分公司',
    area: '430.77',
    long: '122',
    tyz: '88',
    tyx: '90',
    well: '231',
    rate: '87',
  },
  {
    name: '朝阳区',
    data: chaoyangData,
    center: [116.481049, 39.978515],
    deptName: '第二分公司',
    area: '470.8',
    long: '162',
    tyz: '100',
    tyx: '100',
    well: '220',
    rate: '89',
  },
  {
    name: '通州区',
    data: tongzhouData,
    center: [116.692824, 39.810692],
    deptName: '第二分公司',
    area: '1193.95',
    long: '122',
    tyz: '140',
    tyx: '140',
    well: '200',
    rate: '76',
  },
  {
    name: '东城区',
    data: dongchengData,
    center: [116.358728, 39.914069],
    deptName: '第一分公司',
    area: '41.84',
    long: '66',
    tyz: '230',
    tyx: '230',
    well: '200',
    rate: '98',
  },
  {
    name: '西城区',
    data: xichengData,
    center: [116.401798, 39.894739],
    deptName: '第一分公司',
    area: '50.7',
    long: '320',
    tyz: '300',
    tyx: '290',
    well: '400',
    rate: '97',
  },
  {
    name: '丰台区',
    data: fengtaiData,
    center: [116.179934, 39.846876],
    deptName: '第四分公司',
    area: '306',
    long: '230',
    tyz: '111',
    tyx: '180',
    well: '301',
    rate: '66',
  },
  {
    name: '房山区',
    data: fangshanData,
    center: [115.757474, 39.738367],
    deptName: '第五分公司',
    area: '2019',
    long: '220',
    tyz: '140',
    tyx: '146',
    well: '209',
    rate: '73',
  },
  {
    name: '大兴区',
    data: daxingData,
    center: [116.345243, 39.668634],
    deptName: '第四分公司',
    area: '1036.33',
    long: '290',
    tyz: '430',
    tyx: '340',
    well: '279',
    rate: '78',
  },
]