echarts地图demo及json资源下载链接,包含下探到区级的json数据:
1,全国地图采用china.js(因为实践中使用china.json无法描绘出南海诸岛,不符合测绘法规定)
2,省市级别使用json文件
3,资源结构如下
map 文件夹
├──china.js
├──china.json
├──codeToJson.js code和json的映射文件
└──province 文件夹
-->├──guangdong.json 广东为例(实际包含全国的省级行政区域)
-->└──guangdong 文件夹
-->-->└──shenzhen.json 深圳为例(实际包含该省全部市)
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
# run unit tests
npm run unit
# run all tests
npm testFor a detailed explanation on how things work, check out the guide and docs for vue-loader.