egovamap 0.35.34 → 0.35.36

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.
@@ -734,6 +734,15 @@ var EGovaGISMap = function (
734
734
  layerTag,
735
735
  cb
736
736
  );
737
+ if (options.animatedLinesEnable) {
738
+ for (var i = 0; i < geometries.length; i++) {
739
+ if (geometries[i].geometry == undefined && geometries[i].paths) {
740
+ geometries[i].geometry = {type: "polyline", paths: geometries[i].paths}
741
+ }
742
+ geometries[i].attributes.color = options.animatedOption.color || [0 ,0, 255];
743
+ }
744
+ that.addAnimatedLines(geometries, options.animatedOption);
745
+ }
737
746
  };
738
747
  /* 清除指定图形 */
739
748
  that.clearGraphic = function (id, tag) {
@@ -3804,6 +3804,15 @@ var EGovaGlobeMap = function (
3804
3804
  false
3805
3805
  );
3806
3806
  };
3807
+ that.collisionAnalysis = function (options) {
3808
+ if (scene == null) return;
3809
+ scene.fire(
3810
+ msgPrefix + ':collisionAnalysis',
3811
+ { args: [options] },
3812
+ parentScene,
3813
+ false
3814
+ );
3815
+ };
3807
3816
  that.longitudinalSectionalAnalysis = function (layerName, data, options) {
3808
3817
  if (scene == null) return;
3809
3818
  scene.fire(
@@ -5657,6 +5657,12 @@ var EGovaMap = function (
5657
5657
  );
5658
5658
  }
5659
5659
  };
5660
+ that.collisionAnalysis = function (options) {
5661
+ if (scene == null) return;
5662
+ if (globeMap != null) {
5663
+ globeMap.collisionAnalysis(options);
5664
+ }
5665
+ };
5660
5666
  /**
5661
5667
  * 立体纵断面分析接口
5662
5668
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.35.34",
3
+ "version": "0.35.36",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {