plugins/weather/src/api/weather.js
/**
   * Calculates position of emission source from camera position and the cloud height property
   * @param {Cesium.Cartesian3} cameraPosition
   * @param {number} height
   */
Calculates position of emission source from camera position and the cloud height property
@param {Cesium.Cartesian3} cameraPosition
@param {number} height
Calculates position of emission source from camera position and the cloud height property @param { Cesium . Cartesian3 } cameraPosition @param { number } height
staticHeight(cameraPosition, height) {
    const positionLatLng = Cesium.Ellipsoid.WGS84.cartesianToCartographic(cameraPosition);
    this.position = new Cesium.Cartesian3.fromDegrees(
      Cesium.Math.toDegrees(positionLatLng.longitude),
      Cesium.Math.toDegrees(positionLatLng.latitude),
      height,
    );
  }
staticHeight ( cameraPosition , height ) { const positionLatLng = Cesium . Ellipsoid . WGS84 . cartesianToCartographic ( cameraPosition ) ; this . position = new Cesium . Cartesian3 . fromDegrees ( Cesium . Math . toDegrees ( positionLatLng . longitude ) , Cesium . Math . toDegrees ( positionLatLng . latitude ) , height , ) ; }
Calculates position of emission source from camera position and the cloud height property
 @param {Cesium.Cartesian3} cameraPosition
 @param {number} height
Calculates position of emission source from camera position and the cloud height property @param { Cesium . Cartesian3 } cameraPosition @param { number } height