egovamap 0.33.11 → 0.33.13

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.
@@ -2797,6 +2797,10 @@ var EGovaGISMap = function (
2797
2797
  that.addMaskLayerV22 = function (params) {
2798
2798
  that.callMap("addMaskLayerV22",params);
2799
2799
  }
2800
+
2801
+ that.destroyMap = function () {
2802
+ that.callMap("destroyMap");
2803
+ }
2800
2804
 
2801
2805
  that.pointInPolygon = function (point, polygon, callback) {
2802
2806
  return that.callMap("pointInPolygon", point, polygon, callback);
@@ -5523,6 +5523,13 @@ var EGovaMap = function (
5523
5523
  gisMap.addMaskLayerV22(params);
5524
5524
  }
5525
5525
  };
5526
+
5527
+ that.destroyMap = function (){
5528
+ if (scene == null) return;
5529
+ if (gisMap != null) {
5530
+ gisMap.destroyMap();
5531
+ }
5532
+ };
5526
5533
 
5527
5534
  that.initMap(containerID, callback, mapType, mapConfig);
5528
5535
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.33.11",
3
+ "version": "0.33.13",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {