@vcmap/viewshed 2.0.2 → 2.0.3

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.
package/dist/index.js CHANGED
@@ -454,7 +454,7 @@ const E = class E extends we {
454
454
  pointLightRadius: this._shadowCamera.frustum.far,
455
455
  maximumDistance: 200,
456
456
  size: 2048
457
- }), this._shadowMap.viewshed = this._colors, this._scene.shadowMap = this._shadowMap, this._cesiumMap.setShadowMap(this._shadowMap));
457
+ }), this._shadowMap.viewshed = this._colors, this._cesiumMap.setShadowMap(this._shadowMap));
458
458
  }
459
459
  _removePrimitive() {
460
460
  var e;
@@ -951,7 +951,7 @@ var wt = function() {
951
951
  null,
952
952
  null
953
953
  );
954
- const _t = gt.exports, P = "@vcmap/viewshed", Ct = "2.0.2", Et = "^5.1", Y = {
954
+ const _t = gt.exports, P = "@vcmap/viewshed", Ct = "2.0.3", Et = "^5.1", Y = {
955
955
  [w.CONE]: "$vcsViewshed",
956
956
  [w.THREESIXTY]: "$vcsViewshedCone"
957
957
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vcmap/viewshed",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "Tool to simulate a \"viewer\" and their field of vision from a certain standpoint in the map. It allows the user to see which areas and buildings can or can't be seen from a specific standpoint, regarding different viewing distances, viewers' sizes and orientations.Th",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/viewshed.js CHANGED
@@ -486,7 +486,6 @@ export default class Viewshed extends VcsObject {
486
486
  size: 2048,
487
487
  });
488
488
  this._shadowMap.viewshed = this._colors;
489
- this._scene.shadowMap = this._shadowMap;
490
489
  this._cesiumMap.setShadowMap(this._shadowMap);
491
490
  }
492
491