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 () {
|
package/egovamap/egovamapMEx.js
CHANGED
package/egovamap/egovamobile.js
CHANGED
|
@@ -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
|
|