dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
SnowyWeather Class
The SnowyWeather class allows you to change the weather conditions in the scene to snowy weather.
ArcGIS Maps SDK for JavaScript
public class SnowyWeather : dymaptic.GeoBlazor.Core.Components.MapComponent,
dymaptic.GeoBlazor.Core.Interfaces.IEnvironmentWeather,
dymaptic.GeoBlazor.Core.Interfaces.IMapComponent,
dymaptic.GeoBlazor.Core.Interfaces.ISceneViewEnvironmentWeather
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 SnowyWeather
Implements IEnvironmentWeather, IMapComponent, ISceneViewEnvironmentWeather
Constructors
SnowyWeather() Constructor
Parameterless constructor for use as a Razor Component.
public SnowyWeather();
SnowyWeather(Nullable, Nullable, Nullable) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public SnowyWeather(System.Nullable<double> cloudCover=null, System.Nullable<double> precipitation=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.SnowCover> snowCover=null);
Parameters
cloudCover
System.Nullable<System.Double>
Specifies the amount of cloud cover in the sky for a certain weather type.
default 0.5
ArcGIS Maps SDK for JavaScript
precipitation
System.Nullable<System.Double>
Specifies the amount of falling snow.
default 0.5
ArcGIS Maps SDK for JavaScript
snowCover
System.Nullable<SnowCover>
Display surfaces covered with snow.
default “disabled”
ArcGIS Maps SDK for JavaScript
Properties
SnowyWeather.CloudCover Property
Specifies the amount of cloud cover in the sky for a certain weather type.
default 0.5
ArcGIS Maps SDK for JavaScript
public System.Nullable<double> CloudCover { get; set; }
Property Value
System.Nullable<System.Double>
SnowyWeather.Precipitation Property
Specifies the amount of falling snow.
default 0.5
ArcGIS Maps SDK for JavaScript
public System.Nullable<double> Precipitation { get; set; }
Property Value
System.Nullable<System.Double>
SnowyWeather.SnowCover Property
Display surfaces covered with snow.
default “disabled”
ArcGIS Maps SDK for JavaScript
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.SnowCover> SnowCover { get; set; }
Property Value
Methods
SnowyWeather.GetCloudCover() Method
Asynchronously retrieve the current value of the CloudCover property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetCloudCover();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
SnowyWeather.GetPrecipitation() Method
Asynchronously retrieve the current value of the Precipitation property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetPrecipitation();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
SnowyWeather.GetSnowCover() Method
Asynchronously retrieve the current value of the SnowCover property.
public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.SnowCover>> GetSnowCover();
Returns
System.Threading.Tasks.Task<System.Nullable<SnowCover>>
SnowyWeather.SetCloudCover(Nullable) Method
Asynchronously set the value of the CloudCover property after render.
public System.Threading.Tasks.Task SetCloudCover(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Returns
SnowyWeather.SetPrecipitation(Nullable) Method
Asynchronously set the value of the Precipitation property after render.
public System.Threading.Tasks.Task SetPrecipitation(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Returns
SnowyWeather.SetSnowCover(Nullable) Method
Asynchronously set the value of the SnowCover property after render.
public System.Threading.Tasks.Task SetSnowCover(System.Nullable<dymaptic.GeoBlazor.Core.Enums.SnowCover> value);
Parameters
value
System.Nullable<SnowCover>
The value to set.