egovamap 0.15.23 → 0.15.24

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.
@@ -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
 
@@ -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.23",
3
+ "version": "0.15.24",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {