egovamap 0.15.23 → 0.15.26

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.
@@ -1982,10 +1982,10 @@ var EGovaGlobeMap = function ($container, pScene, prefix, mapConfig, context, ca
1982
1982
  return;
1983
1983
  scene.fire((msgPrefix + ":setLineOptions"), { args: [options] }, parentScene, false);
1984
1984
  };
1985
- that.bufferAnalysis = function(options,clear,update) {
1985
+ that.bufferAnalysis = function(options,clear,update,callback) {
1986
1986
  if (scene == null)
1987
1987
  return;
1988
- scene.fire((msgPrefix + ":bufferAnalysis"), { args: [options,clear,update] }, parentScene, false);
1988
+ scene.fire((msgPrefix + ":bufferAnalysis"), { args: [options,clear,update,callback] }, parentScene, false);
1989
1989
  };
1990
1990
  that.clearBufferAnalysis = function(options) {
1991
1991
  if (scene == null)
@@ -2064,6 +2064,102 @@ var EGovaGlobeMap = function ($container, pScene, prefix, mapConfig, context, ca
2064
2064
  if (scene == null)
2065
2065
  return;
2066
2066
  scene.fire((msgPrefix + ":searchAndShowPipe"), { args: [url, options, color, clear] }, parentScene, false);
2067
+ };
2068
+ that.splitView = function(options) {
2069
+ if (scene == null)
2070
+ return;
2071
+ scene.fire((msgPrefix + ":splitView"), { args: [options] }, parentScene, false);
2072
+ };
2073
+ //4.13
2074
+ //淹没分析
2075
+ that.drawRange = function(type) {
2076
+ if (scene == null)
2077
+ return;
2078
+ scene.fire((msgPrefix + ":drawRange"), { args: [type] }, parentScene, false);
2079
+ };
2080
+ that.floodAnalysis = function(options) {
2081
+ if (scene == null)
2082
+ return;
2083
+ scene.fire((msgPrefix + ":floodAnalysis"), { args: [options] }, parentScene, false);
2084
+ };
2085
+ that.clearFloodAnalysis = function() {
2086
+ if (scene == null)
2087
+ return;
2088
+ scene.fire((msgPrefix + ":clearFloodAnalysis"), { args: [] }, parentScene, false);
2089
+ };
2090
+ //空间分析
2091
+ that.currencyDraw = function(type) {
2092
+ if (scene == null)
2093
+ return;
2094
+ scene.fire((msgPrefix + ":currencyDraw"), { args: [type] }, parentScene, false);
2095
+ };
2096
+ that.intersect = function() {
2097
+ if (scene == null)
2098
+ return;
2099
+ scene.fire((msgPrefix + ":intersect"), { args: [] }, parentScene, false);
2100
+ };
2101
+ that.spatialAnalysisClear = function() {
2102
+ if (scene == null)
2103
+ return;
2104
+ scene.fire((msgPrefix + ":spatialAnalysisClear"), { args: [] }, parentScene, false);
2105
+ };
2106
+ //挖掘分析
2107
+ that.openDigSurface = function(options) {
2108
+ if (scene == null)
2109
+ return;
2110
+ scene.fire((msgPrefix + ":openDigSurface"), { args: [options] }, parentScene, false);
2111
+ };
2112
+ that.closeDigSurface = function() {
2113
+ if (scene == null)
2114
+ return;
2115
+ scene.fire((msgPrefix + ":closeDigSurface"), { args: [] }, parentScene, false);
2116
+ };
2117
+ //设置图层显隐
2118
+ that.setLayerAlpha = function(options) {
2119
+ if (scene == null)
2120
+ return;
2121
+ scene.fire((msgPrefix + ":setLayerAlpha"), { args: [options] }, parentScene, false);
2122
+ };
2123
+ //打开天气设置
2124
+ that.changeWeather = function(options) {
2125
+ if (scene == null)
2126
+ return;
2127
+ scene.fire((msgPrefix + ":changeWeather"), { args: [options] }, parentScene, false);
2128
+ };
2129
+ //关闭天气效果
2130
+ that.closeWeather = function() {
2131
+ if (scene == null)
2132
+ return;
2133
+ scene.fire((msgPrefix + ":closeWeather"), { args: [] }, parentScene, false);
2134
+ };
2135
+ //模型容差
2136
+ that.changeModelTolerance = function(options) {
2137
+ if (scene == null)
2138
+ return;
2139
+ scene.fire((msgPrefix + ":changeModelTolerance"), { args: [options] }, parentScene, false);
2140
+ };
2141
+ //获取模型容差
2142
+ that.getModelTolerance = function(options) {
2143
+ if (scene == null)
2144
+ return;
2145
+ scene.fire((msgPrefix + ":getModelTolerance"), { args: [options] }, parentScene, false);
2146
+ };
2147
+ //设置天空盒
2148
+ that.setSkyBox = function(name, imgType) {
2149
+ if (scene == null)
2150
+ return;
2151
+ scene.fire((msgPrefix + ":setSkyBox"), { args: [name, imgType] }, parentScene, false);
2152
+ };
2153
+ //打开pbr
2154
+ that.showPbrPanel = function(style) {
2155
+ if (scene == null)
2156
+ return;
2157
+ scene.fire((msgPrefix + ":showPbrPanel"), { args: [style] }, parentScene, false);
2158
+ };
2159
+ that.hidePbrPanel = function() {
2160
+ if (scene == null)
2161
+ return;
2162
+ scene.fire((msgPrefix + ":hidePbrPanel"), { args: [] }, parentScene, false);
2067
2163
  };
2068
2164
  that.init();
2069
2165
  };
@@ -3907,11 +3907,11 @@ var EGovaMap = function (containerID, callback, mapConfig, mapType, mapParam, co
3907
3907
  globeMap.setLineOptions(options);
3908
3908
  }
3909
3909
  };
3910
- that.bufferAnalysis = function(options,clear,update) {
3910
+ that.bufferAnalysis = function(options,clear,update,callback) {
3911
3911
  if (scene == null)
3912
3912
  return;
3913
3913
  if (globeMap != null) {
3914
- globeMap.bufferAnalysis(options,clear,update);
3914
+ globeMap.bufferAnalysis(options,clear,update,callback);
3915
3915
  }
3916
3916
  };
3917
3917
  that.clearBufferAnalysis = function() {
@@ -4021,7 +4021,138 @@ var EGovaMap = function (containerID, callback, mapConfig, mapType, mapParam, co
4021
4021
  if (globeMap != null) {
4022
4022
  globeMap.searchAndShowPipe(url, options, color, clear);
4023
4023
  }
4024
- };
4024
+ };
4025
+ //卷帘分析2022-04-13 write by 程卓
4026
+ that.splitView = function(options) {
4027
+ if (scene == null)
4028
+ return;
4029
+ if (globeMap != null) {
4030
+ globeMap.splitView(options);
4031
+ }
4032
+ };
4033
+ //代杨忠提交2022-04-13
4034
+ that.drawRange = function(type) {
4035
+ if (scene == null)
4036
+ return;
4037
+ if (globeMap != null) {
4038
+ globeMap.drawRange(type);
4039
+ }
4040
+ };
4041
+ that.floodAnalysis = function(options) {
4042
+ if (scene == null)
4043
+ return;
4044
+ if (globeMap != null) {
4045
+ globeMap.floodAnalysis(options);
4046
+ }
4047
+ };
4048
+ that.clearFloodAnalysis = function() {
4049
+ if (scene == null)
4050
+ return;
4051
+ if (globeMap != null) {
4052
+ globeMap.clearFloodAnalysis();
4053
+ }
4054
+ };
4055
+ //空间分析
4056
+ that.currencyDraw = function(type) {
4057
+ if (scene == null)
4058
+ return;
4059
+ if (globeMap != null) {
4060
+ globeMap.currencyDraw(type);
4061
+ }
4062
+ };
4063
+ that.intersect = function() {
4064
+ if (scene == null)
4065
+ return;
4066
+ if (globeMap != null) {
4067
+ globeMap.intersect();
4068
+ }
4069
+ };
4070
+ that.spatialAnalysisClear = function() {
4071
+ if (scene == null)
4072
+ return;
4073
+ if (globeMap != null) {
4074
+ globeMap.spatialAnalysisClear();
4075
+ }
4076
+ };
4077
+ //挖掘分析
4078
+ that.openDigSurface = function(options) {
4079
+ if (scene == null)
4080
+ return;
4081
+ if (globeMap != null) {
4082
+ globeMap.openDigSurface(options);
4083
+ }
4084
+ };
4085
+ that.closeDigSurface = function() {
4086
+ if (scene == null)
4087
+ return;
4088
+ if (globeMap != null) {
4089
+ globeMap.closeDigSurface();
4090
+ }
4091
+ };
4092
+ //设置图层显隐
4093
+ that.setLayerAlpha = function(options) {
4094
+ if (scene == null)
4095
+ return;
4096
+ if (globeMap != null) {
4097
+ globeMap.setLayerAlpha(options);
4098
+ }
4099
+ };
4100
+ //打开天气设置
4101
+ that.changeWeather = function(options) {
4102
+ if (scene == null)
4103
+ return;
4104
+ if (globeMap != null) {
4105
+ globeMap.changeWeather(options);
4106
+ }
4107
+ };
4108
+ //关闭天气效果
4109
+ that.closeWeather = function() {
4110
+ if (scene == null)
4111
+ return;
4112
+ if (globeMap != null) {
4113
+ globeMap.closeWeather();
4114
+ }
4115
+ };
4116
+ //模型容差
4117
+ that.changeModelTolerance = function(options) {
4118
+ if (scene == null)
4119
+ return;
4120
+ if (globeMap != null) {
4121
+ globeMap.changeModelTolerance(options);
4122
+ }
4123
+ };
4124
+ //获取模型容差
4125
+ that.getModelTolerance = function(options) {
4126
+ if (scene == null)
4127
+ return;
4128
+ if (globeMap != null) {
4129
+ globeMap.getModelTolerance(options);
4130
+ }
4131
+ };
4132
+ //设置天空盒
4133
+ that.setSkyBox = function(name, imgType) {
4134
+ if (scene == null)
4135
+ return;
4136
+ if (globeMap != null) {
4137
+ globeMap.setSkyBox(name, imgType);
4138
+ }
4139
+ };
4140
+ //打开pbr
4141
+ that.showPbrPanel = function(style) {
4142
+ if (scene == null)
4143
+ return;
4144
+ if (globeMap != null) {
4145
+ globeMap.showPbrPanel(style);
4146
+ }
4147
+ };
4148
+ //guanbi pbr
4149
+ that.hidePbrPanel = function() {
4150
+ if (scene == null)
4151
+ return;
4152
+ if (globeMap != null) {
4153
+ globeMap.hidePbrPanel();
4154
+ }
4155
+ };
4025
4156
  that.initMap(containerID, callback, mapType, mapConfig);
4026
4157
 
4027
4158
  // EGovaBI(globeMap).bind(this)();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.15.23",
3
+ "version": "0.15.26",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {