[bug] heatmap in geo
See original GitHub issueVersion
5.0.0
Steps to reproduce
基于geo坐标系的热力图
{
"geo": {
"map": "china",
"roam": true
},
"visualMap": {
"show": false,
"min": 0,
"max": 5,
"inRange": {
"color": [
"blue",
"blue",
"green",
"yellow",
"red"
]
}
},
"series": [
{
"type": "heatmap",
"coordinateSystem": "geo",
"geoIndex": 0,
"data": [
[
120.14322240845,
30.236064370321,
1
],
[
120.14280555506,
30.23633761213,
1
],
[
120.14307598649,
30.236125905084,
1
],
[
120.14301682797,
30.236035316745,
1
],
[
120.1428734612,
30.236160551632,
1
],
[
120.14200215328,
30.23595702204,
1
],
[
120.14138577045,
30.236113748704,
1
],
[
120.1400398833,
30.235973050702,
1
],
[
120.13893453465,
30.23517220446,
1
],
[
120.1382899739,
30.234062922977,
1
]
],
"pointSize": 5,
"blurSize": 6
}
]
}
What is expected?
正常展示
What is actually happening?
在4.9.0中正常展示
在5.0.0中报错
Uncaught TypeError: coordSys.dataToRect is not a function
at HeatmapView._renderOnCartesianAndCalendar (echarts.js:59155)
at HeatmapView.incrementalRender (echarts.js:59085)
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
[bug] heatmap in geo · Issue #13894 · apache/echarts - GitHub
Version 5.0.0 Steps to reproduce 基于geo坐标系的热力图{ "geo": { "map": "china", "roam": true } ... [bug] heatmap in geo #13894.
Read more >Bug when geo heatmap is embebed in a page - MongoDB
I have a dashboard in mongo DB charts with only one chart, this chart is a geo heatmap. I created my heatmap and...
Read more >Geoserver heatmap not rendered correctly - Stack Overflow
I am displaying a heatmap generated with geoserver on my google map. It work pretty fine but the heatmap is tiled, even if...
Read more >Geo heatmap charts | ThoughtSpot Software
Geo heatmap charts display the value of the measure through the depth of color of the area. Use geo heatmap charts to see...
Read more >Weighted geo-heatmap using gmaps - Medium
Summary: this little blog guides you to create a proper weighted heatmap using gmaps, google map API and suggest to avoid using folium...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kirincc 好像没加载 ECharts 的百度地图插件。这是为什么坐标系为 null 的原因。
我测试了下,并未发现有报错的情况,https://www.makeapie.com/editor.html?c=x0-0jU_YJG&v=1 请检查是否正在使用按需引入导致少引了部分组件。