diff --git a/src/chart/heatmap/HeatmapView.ts b/src/chart/heatmap/HeatmapView.ts index 23e15ee54a..a90a4e4753 100644 --- a/src/chart/heatmap/HeatmapView.ts +++ b/src/chart/heatmap/HeatmapView.ts @@ -149,7 +149,13 @@ class HeatmapView extends ChartView { ) { const coordSys = seriesModel.coordinateSystem; if (coordSys) { - this._renderOnCartesianAndCalendar(seriesModel, api, params.start, params.end, true); + // geo does not support incremental rendering? + if (isGeoCoordSys(coordSys)) { + this.render(seriesModel, ecModel, api); + } + else { + this._renderOnCartesianAndCalendar(seriesModel, api, params.start, params.end, true); + } } } @@ -379,4 +385,4 @@ class HeatmapView extends ChartView { } } -export default HeatmapView; \ No newline at end of file +export default HeatmapView; diff --git a/test/heatmap-geo.html b/test/heatmap-geo.html new file mode 100644 index 0000000000..1d77b5ac2a --- /dev/null +++ b/test/heatmap-geo.html @@ -0,0 +1,113 @@ + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + +