egovamap 0.15.22 → 0.15.25

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.
@@ -1239,14 +1239,14 @@ var EGovaGISMap = function ($container, pScene, prefix, gisParams, mapConfig,con
1239
1239
  }
1240
1240
 
1241
1241
  /*对几何图形进行缓冲*/
1242
- that.getGeometryBuffer=function(geometry,radius,callback){
1242
+ that.getGeometryBuffer=function(geometry,radius,callback,autoTransRadius){
1243
1243
  that.removeEventBind("getGeometryBufferCallback");
1244
1244
  if (callback != undefined) {
1245
1245
  that.bindEvent("getGeometryBufferCallback", function(evt) {
1246
1246
  callback(evt.args);
1247
1247
  });
1248
1248
  }
1249
- scene.fire((msgPrefix + ":getGeometryBuffer"), {args: [geometry,radius]}, parentScene,true);
1249
+ scene.fire((msgPrefix + ":getGeometryBuffer"), {args: [geometry,radius,autoTransRadius]}, parentScene,true);
1250
1250
  }
1251
1251
 
1252
1252
  /* 移除图层*/
@@ -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,7 +2064,63 @@ 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);
2067
2072
  };
2073
+
2074
+ //4.13
2075
+ //淹没分析
2076
+ that.drawRange = function(type) {
2077
+ if (scene == null)
2078
+ return;
2079
+ scene.fire((msgPrefix + ":drawRange"), { args: [type] }, parentScene, false);
2080
+ }
2081
+ that.floodAnalysis = function(options) {
2082
+ if (scene == null)
2083
+ return;
2084
+ scene.fire((msgPrefix + ":floodAnalysis"), { args: [options] }, parentScene, false);
2085
+ }
2086
+ that.clearFloodAnalysis = function() {
2087
+ if (scene == null)
2088
+ return;
2089
+ scene.fire((msgPrefix + ":clearFloodAnalysis"), { args: [] }, parentScene, false);
2090
+ }
2091
+ //空间分析
2092
+ that.currencyDraw = function(type) {
2093
+ if (scene == null)
2094
+ return;
2095
+ scene.fire((msgPrefix + ":currencyDraw"), { args: [type] }, parentScene, false);
2096
+ }
2097
+ that.intersect = function() {
2098
+ if (scene == null)
2099
+ return;
2100
+ scene.fire((msgPrefix + ":intersect"), { args: [] }, parentScene, false);
2101
+ }
2102
+ that.spatialAnalysisClear = function() {
2103
+ if (scene == null)
2104
+ return;
2105
+ scene.fire((msgPrefix + ":spatialAnalysisClear"), { args: [] }, parentScene, false);
2106
+ }
2107
+ //挖掘分析
2108
+ that.openDigSurface = function(options) {
2109
+ if (scene == null)
2110
+ return;
2111
+ scene.fire((msgPrefix + ":openDigSurface"), { args: [options] }, parentScene, false);
2112
+ }
2113
+ that.closeDigSurface = function() {
2114
+ if (scene == null)
2115
+ return;
2116
+ scene.fire((msgPrefix + ":closeDigSurface"), { args: [] }, parentScene, false);
2117
+ }
2118
+ //设置图层显隐
2119
+ that.setLayerAlpha = function(options) {
2120
+ if (scene == null)
2121
+ return;
2122
+ scene.fire((msgPrefix + ":setLayerAlpha"), { args: [options] }, parentScene, false);
2123
+ }
2068
2124
  that.init();
2069
2125
  };
2070
2126
 
@@ -2360,7 +2360,7 @@ var EGovaMap = function (containerID, callback, mapConfig, mapType, mapParam, co
2360
2360
  }
2361
2361
 
2362
2362
  /*对几何图形进行缓冲*/
2363
- that.getGeometryBuffer = function (geometry, radius, callback) {
2363
+ that.getGeometryBuffer = function (geometry, radius, callback,autoTransRadius) {
2364
2364
  if (scene == null)
2365
2365
  return;
2366
2366
  if (gisMap != null)
@@ -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,82 @@ 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
+ };
4025
4100
  that.initMap(containerID, callback, mapType, mapConfig);
4026
4101
 
4027
4102
  // EGovaBI(globeMap).bind(this)();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.15.22",
3
+ "version": "0.15.25",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {