egovamap 0.28.9 → 0.29.0

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.
@@ -2713,6 +2713,16 @@ var EGovaGISMap = function (
2713
2713
  return that.callMap("stopMeasure");
2714
2714
  };
2715
2715
 
2716
+ // 上视图
2717
+ that.previousView = function () {
2718
+ that.callMap("previousView");
2719
+ }
2720
+
2721
+ // 上视图
2722
+ that.nextView = function () {
2723
+ that.callMap("nextView");
2724
+ }
2725
+
2716
2726
  that.init();
2717
2727
  };
2718
2728
 
@@ -5154,6 +5154,36 @@ var EGovaMap = function (
5154
5154
  }
5155
5155
  };
5156
5156
 
5157
+ // 截屏
5158
+ that.snapScreen = function () {
5159
+ if (scene == null) {
5160
+ return;
5161
+ }
5162
+ if (gisMap != null) {
5163
+ gisMap.stopMeasure();
5164
+ }
5165
+ }
5166
+
5167
+ // 上视图
5168
+ that.previousView = function () {
5169
+ if (scene == null) {
5170
+ return;
5171
+ }
5172
+ if (gisMap != null) {
5173
+ gisMap.previousView();
5174
+ }
5175
+ }
5176
+
5177
+ // 上视图
5178
+ that.nextView = function () {
5179
+ if (scene == null) {
5180
+ return;
5181
+ }
5182
+ if (gisMap != null) {
5183
+ gisMap.nextView();
5184
+ }
5185
+ }
5186
+
5157
5187
  that.initMap(containerID, callback, mapType, mapConfig);
5158
5188
 
5159
5189
  // EGovaBI(globeMap).bind(this)();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.28.9",
3
+ "version": "0.29.0",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {