egovamap 0.31.2 → 0.31.4

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.
@@ -611,9 +611,9 @@ var EGovaGISMap = function (
611
611
  );
612
612
  };
613
613
  /* 缩放到指定中心点和级别 */
614
- that.centerAndZoom = function (x, y, level) {
614
+ that.centerAndZoom = function (x, y, level, animateOptions) {
615
615
  if (scene == null) return;
616
- that.callMap("centerAndZoom", x, y, level);
616
+ that.callMap("centerAndZoom", x, y, level, animateOptions);
617
617
  };
618
618
  /* 缩放到全图范围 */
619
619
  that.zoomToFullExtent = function () {
@@ -96,6 +96,7 @@ var egovamapMEx = function (gisMobileMap) {
96
96
  "addControl",
97
97
  "addMapvLayer",
98
98
  "removeMapvLayer",
99
+ "changeMultiObjectCurrentPositionAngle"
99
100
  ];
100
101
  methodEx = methodEx.concat(methodBusEx);
101
102
  for (let index = 0; index < methodEx.length; index++) {
@@ -296,6 +296,15 @@ var EGovaMobileMap = function ($container, pScene, prefix, gisParams, mapConfig,
296
296
  }(funcName);
297
297
  }
298
298
 
299
+ /**
300
+ * 获取移动端原始地图对象(主要为了调用原始ol方法)
301
+ * @returns
302
+ */
303
+ that.getOriginalMap = function (){
304
+ if (!window.eMapList) return;
305
+ return window.eMapList[that.id];
306
+ }
307
+
299
308
  that.init();
300
309
  }
301
310
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.31.2",
3
+ "version": "0.31.4",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {