egovamap 0.35.24 → 0.35.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.
@@ -3790,6 +3790,20 @@ var EGovaGlobeMap = function (
3790
3790
  false
3791
3791
  );
3792
3792
  };
3793
+ that.crossSectionAnalysis = function (
3794
+ layerName,
3795
+ cutline,
3796
+ csPipePoints,
3797
+ options
3798
+ ) {
3799
+ if (scene == null) return;
3800
+ scene.fire(
3801
+ msgPrefix + ':crossSectionAnalysis',
3802
+ { args: [layerName, cutline, csPipePoints, options] },
3803
+ parentScene,
3804
+ false
3805
+ );
3806
+ };
3793
3807
  that.init();
3794
3808
  };
3795
3809
 
@@ -2209,7 +2209,10 @@ var EGovaMap = function (
2209
2209
  that.showMultiObjectCurrentPositionWithData = function (jsonInfo) {
2210
2210
  if (scene == null) return;
2211
2211
  if (gisMap != null) {
2212
- gisMap.showMultiObjectCurrentPositionWithData.apply(this, arguments);
2212
+ gisMap.showMultiObjectCurrentPositionWithData.apply(
2213
+ this,
2214
+ arguments
2215
+ );
2213
2216
  }
2214
2217
  };
2215
2218
 
@@ -5635,20 +5638,39 @@ var EGovaMap = function (
5635
5638
  globeMap.bar3D(options);
5636
5639
  }
5637
5640
  };
5641
+ /**
5642
+ * 立体横断面分析接口
5643
+ */
5644
+ that.crossSectionAnalysis = function (
5645
+ layerName,
5646
+ cutline,
5647
+ csPipePoints,
5648
+ options
5649
+ ) {
5650
+ if (scene == null) return;
5651
+ if (globeMap != null) {
5652
+ globeMap.crossSectionAnalysis(
5653
+ layerName,
5654
+ cutline,
5655
+ csPipePoints,
5656
+ options
5657
+ );
5658
+ }
5659
+ };
5638
5660
 
5639
- that.addAnimatedLines = function(data, options) {
5661
+ that.addAnimatedLines = function (data, options) {
5640
5662
  if (scene == null) return;
5641
5663
  if (gisMap != null) {
5642
5664
  gisMap.addAnimatedLines.apply(this, arguments);
5643
5665
  }
5644
- }
5666
+ };
5645
5667
 
5646
- that.addBackgroundCircle = function(data, options) {
5668
+ that.addBackgroundCircle = function (data, options) {
5647
5669
  if (scene == null) return;
5648
5670
  if (gisMap != null) {
5649
5671
  gisMap.addBackgroundCircle.apply(this, arguments);
5650
5672
  }
5651
- }
5673
+ };
5652
5674
 
5653
5675
  that.initMap(containerID, callback, mapType, mapConfig, mapParam);
5654
5676
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.35.24",
3
+ "version": "0.35.25",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -13,8 +13,7 @@
13
13
  "author": "egova",
14
14
  "license": "MIT",
15
15
  "dependencies": {
16
- "egovacoordconvert": "1.0.0",
17
- "egovamap": "file:"
16
+ "egovacoordconvert": "1.0.0"
18
17
  },
19
18
  "engines": {
20
19
  "node": ">=12.13"