Skip to content

Commit

Permalink
fix mapboxgl mapvlayer cleardata异常的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
songyumeng committed Mar 2, 2018
1 parent 3a925b8 commit 2f13c74
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/iclient9-mapboxgl.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/iclient9-mapboxgl.js
Original file line number Diff line number Diff line change
Expand Up @@ -81213,7 +81213,7 @@ var MapvRenderer = exports.MapvRenderer = function (_BaseLayer) {
}, {
key: 'draw',
value: function draw() {
this.canvasLayer.draw();
this._canvasUpdate();
}
}, {
key: '_hide',
Expand Down
3 changes: 2 additions & 1 deletion dist/iclient9-mapboxgl.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/include-mapboxgl.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
inputScript("http://iclient.supermap.io/libs/echartsLayer/EchartsLayer.js");
}
if (!inArray(excludes, 'iclient9-mapboxgl')) {
inputScript("../../dist/iclient9-mapboxgl.min.js");
inputScript("../../dist/iclient9-mapboxgl.js");
}
if (inArray(includes, 'proj4')) {
inputScript("https://cdn.bootcss.com/proj4js/2.4.3/proj4.js");
Expand Down
2 changes: 1 addition & 1 deletion src/mapboxgl/overlay/mapv/MapvRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ export class MapvRenderer extends BaseLayer {
* @description 渲染绘制
*/
draw() {
this.canvasLayer.draw();
this._canvasUpdate();
}

_hide() {
Expand Down

0 comments on commit 2f13c74

Please sign in to comment.