- 安装 npm install echarts-extension-tmap 或 yarn add echarts-extension-tmap
- 引入 require('echarts-extension-tmap')
- 使用 tmap: { // 天地图中心经纬度 center: this.center, // 天地图缩放 zoom: this.zoom, // 拖拽 roam: false, // 天地图自定义样式 只有 默认、black、indigo三种样式 mapStyle: 'indigo' }, series: [ { name: '投资指数', type: 'scatter', coordinateSystem: 'tmap', data: this.convertData(this.map_list) } ]
Liulangzhesw/echarts-extension-tmap
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published