bbj-screen-widget 2.4.47 → 2.4.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/bbj-screen-widget.umd.js +12 -2
- package/bundles/bbj-screen-widget.umd.js.map +1 -1
- package/bundles/bbj-screen-widget.umd.min.js +1 -1
- package/bundles/bbj-screen-widget.umd.min.js.map +1 -1
- package/esm2015/lib/custom-baidu-map/custom-baidu-map.component.js +13 -3
- package/fesm2015/bbj-screen-widget.js +12 -2
- package/fesm2015/bbj-screen-widget.js.map +1 -1
- package/package.json +1 -1
|
@@ -14151,10 +14151,20 @@
|
|
|
14151
14151
|
this.destroy$.complete();
|
|
14152
14152
|
this.destroyed = true;
|
|
14153
14153
|
if (this.view) {
|
|
14154
|
-
|
|
14154
|
+
try {
|
|
14155
|
+
this.view.destroy();
|
|
14156
|
+
}
|
|
14157
|
+
catch (e) {
|
|
14158
|
+
console.error(e);
|
|
14159
|
+
}
|
|
14155
14160
|
}
|
|
14156
14161
|
if (this.map) {
|
|
14157
|
-
|
|
14162
|
+
try {
|
|
14163
|
+
this.map.destroy();
|
|
14164
|
+
}
|
|
14165
|
+
catch (e) {
|
|
14166
|
+
console.error(e);
|
|
14167
|
+
}
|
|
14158
14168
|
}
|
|
14159
14169
|
};
|
|
14160
14170
|
CustomBaiduMapComponent.prototype.mapLoaded = function (map) {
|