Skip to content

Commit 2f13c74

Browse files
committed
fix mapboxgl mapvlayer cleardata异常的bug
1 parent 3a925b8 commit 2f13c74

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

dist/iclient9-mapboxgl.css

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

dist/iclient9-mapboxgl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81213,7 +81213,7 @@ var MapvRenderer = exports.MapvRenderer = function (_BaseLayer) {
8121381213
}, {
8121481214
key: 'draw',
8121581215
value: function draw() {
81216-
this.canvasLayer.draw();
81216+
this._canvasUpdate();
8121781217
}
8121881218
}, {
8121981219
key: '_hide',

dist/iclient9-mapboxgl.min.js

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

dist/include-mapboxgl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
inputScript("http://iclient.supermap.io/libs/echartsLayer/EchartsLayer.js");
5656
}
5757
if (!inArray(excludes, 'iclient9-mapboxgl')) {
58-
inputScript("../../dist/iclient9-mapboxgl.min.js");
58+
inputScript("../../dist/iclient9-mapboxgl.js");
5959
}
6060
if (inArray(includes, 'proj4')) {
6161
inputScript("https://cdn.bootcss.com/proj4js/2.4.3/proj4.js");

src/mapboxgl/overlay/mapv/MapvRenderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ export class MapvRenderer extends BaseLayer {
387387
* @description 渲染绘制
388388
*/
389389
draw() {
390-
this.canvasLayer.draw();
390+
this._canvasUpdate();
391391
}
392392

393393
_hide() {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy