egovamap 0.35.35 → 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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.35.35",
3
+ "version": "0.35.36",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {