Skip to content

Commit dba92da

Browse files
2 parents a671ce7 + e76c8da commit dba92da

File tree

4 files changed

+80
-1403
lines changed

4 files changed

+80
-1403
lines changed

dist/mapboxgl/iclient9-mapboxgl-es6.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65111,12 +65111,13 @@ var MapExtend_MapExtend = function () {
6511165111
external_mapboxgl_default.a.Map.prototype.setLayoutProperty = function (layerID, name, value) {
6511265112
if (this.overlayLayersManager[layerID]) {
6511365113
if (name === "visibility") {
65114-
if (value === "block") {
65114+
if (value === "visible") {
6511565115
value = true;
6511665116
} else {
6511765117
value = false;
6511865118
}
6511965119
setVisibility(this.overlayLayersManager[layerID], value);
65120+
this.style.fire('data', {dataType: 'style'});
6512065121
}
6512165122
return this;
6512265123
}
@@ -65193,6 +65194,7 @@ var MapExtend_MapExtend = function () {
6519365194
}
6519465195

6519565196
}();
65197+
6519665198
// CONCATENATED MODULE: ./src/mapboxgl/core/Base.js
6519765199
/* Copyright© 2000 - 2019 SuperMap Software Co.Ltd. All rights reserved.
6519865200
* This program are made available under the terms of the Apache License, Version 2.0

dist/mapboxgl/iclient9-mapboxgl.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30066,12 +30066,13 @@ var MapExtend = exports.MapExtend = function () {
3006630066
_mapboxGl2.default.Map.prototype.setLayoutProperty = function (layerID, name, value) {
3006730067
if (this.overlayLayersManager[layerID]) {
3006830068
if (name === "visibility") {
30069-
if (value === "block") {
30069+
if (value === "visible") {
3007030070
value = true;
3007130071
} else {
3007230072
value = false;
3007330073
}
3007430074
setVisibility(this.overlayLayersManager[layerID], value);
30075+
this.style.fire('data', { dataType: 'style' });
3007530076
}
3007630077
return this;
3007730078
}

dist/mapboxgl/iclient9-mapboxgl.min.js

Lines changed: 72 additions & 1399 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/mapboxgl/core/MapExtend.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,13 @@ export var MapExtend = function () {
6262
mapboxgl.Map.prototype.setLayoutProperty = function (layerID, name, value) {
6363
if (this.overlayLayersManager[layerID]) {
6464
if (name === "visibility") {
65-
if (value === "block") {
65+
if (value === "visible") {
6666
value = true;
6767
} else {
6868
value = false;
6969
}
7070
setVisibility(this.overlayLayersManager[layerID], value);
71+
this.style.fire('data', {dataType: 'style'});
7172
}
7273
return this;
7374
}
@@ -143,4 +144,4 @@ export var MapExtend = function () {
143144
}
144145
}
145146

146-
}();
147+
}();

0 commit comments

Comments
 (0)