egovamap 0.35.37 → 0.35.39

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.
@@ -403,6 +403,9 @@ var EGovaGISMap = function (
403
403
  mainScript.setAttribute("egoavagisviewer", gisServerURL);
404
404
  mainScript.setAttribute("type", "text/javascript");
405
405
  mainScript.setAttribute("src", url);
406
+ if(context.initJSAsync) { // 初始化JS是否同步加载
407
+ mainScript.setAttribute("async", false);
408
+ }
406
409
  mainScript.onload = that.createMap.bind(that);
407
410
  document.getElementsByTagName("head").item(0).appendChild(mainScript);
408
411
  };
@@ -2890,6 +2893,9 @@ var EGovaGISMap = function (
2890
2893
  return that.callMap("addBackgroundCircle", data, options);
2891
2894
  }
2892
2895
 
2896
+ that.identifyV22 = function( options) {
2897
+ return that.callMap("identifyV22", options);
2898
+ }
2893
2899
  that.init();
2894
2900
  };
2895
2901
 
@@ -5687,6 +5687,13 @@ var EGovaMap = function (
5687
5687
  }
5688
5688
  };
5689
5689
 
5690
+ that.identifyV22 = function (options) {
5691
+ if (scene == null) return;
5692
+ if (gisMap != null) {
5693
+ gisMap.identifyV22.apply(this, arguments);
5694
+ }
5695
+ };
5696
+
5690
5697
  that.initMap(containerID, callback, mapType, mapConfig, mapParam);
5691
5698
 
5692
5699
  // EGovaBI(globeMap).bind(this)();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.35.37",
3
+ "version": "0.35.39",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {