Skip to content

Commit b576c1d

Browse files
committed
修复mapv cleardata失败的问题
1 parent fce7e83 commit b576c1d

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎dist/iclient9-leaflet.js‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30428,9 +30428,9 @@ var MapVRenderer = exports.MapVRenderer = function (_BaseLayer) {
3042830428
value: function clearData() {
3042930429
this.dataSet && this.dataSet.clear();
3043030430
this.dataSet.add(null);
30431-
// this.update({
30432-
// options: null
30433-
// });
30431+
this.update({
30432+
options: null
30433+
});
3043430434
}
3043530435
}, {
3043630436
key: '_canvasUpdate',
@@ -65609,7 +65609,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
6560965609
* @param echartsOptions - {Object} 图表参数
6561065610
* @param options - {Object} 可选图层参数。<br>
6561165611
* attribution - {string} 版权信息。<br>
65612-
* loadWhileAnimating - {boolean} 是否在启动时加载。
65612+
* loadWhileAnimating - {boolean} 是否在移动时加载。
6561365613
*/
6561465614
var EchartsLayer = exports.EchartsLayer = _leaflet2["default"].Layer.extend({
6561565615

‎dist/iclient9-leaflet.min.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/leaflet/overlay/mapv/MapVRenderer.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,9 @@ export class MapVRenderer extends BaseLayer {
185185
clearData() {
186186
this.dataSet && this.dataSet.clear();
187187
this.dataSet.add(null);
188-
// this.update({
189-
// options: null
190-
// });
188+
this.update({
189+
options: null
190+
});
191191
}
192192

193193
_canvasUpdate(time) {

0 commit comments

Comments
 (0)