egovamap 0.33.15 → 0.33.17

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.
@@ -425,6 +425,13 @@ var EGovaGISMap = function (
425
425
  dragExtentLimit: context.dragExtentLimit,
426
426
  style: "",
427
427
  };
428
+ var contextOptions = context.options;
429
+ if(contextOptions && typeof contextOptions === "object") {
430
+ for (var key in contextOptions) {
431
+ params[key] = contextOptions[key];
432
+ }
433
+ }
434
+
428
435
  if (mapConfig && mapConfig.params) {
429
436
  params.controls = mapConfig.params;
430
437
  }
@@ -5524,12 +5524,12 @@ var EGovaMap = function (
5524
5524
  }
5525
5525
  };
5526
5526
 
5527
- that.destroyMap = function (){
5528
- if (scene == null) return;
5527
+ that.destroyMap = function () {
5528
+ if (scene == null) return;
5529
5529
  if (gisMap != null) {
5530
5530
  gisMap.destroyMap();
5531
5531
  }
5532
- };
5532
+ };
5533
5533
 
5534
5534
  that.initMap(containerID, callback, mapType, mapConfig);
5535
5535
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.33.15",
3
+ "version": "0.33.17",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {