dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
SceneLayerElevationInfo Class
Specifies how features are placed on the vertical axis (z).
ArcGIS Maps SDK for JavaScript
public class SceneLayerElevationInfo : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 SceneLayerElevationInfo
Constructors
SceneLayerElevationInfo() Constructor
Parameterless constructor for use as a Razor Component.
public SceneLayerElevationInfo();
SceneLayerElevationInfo(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 SceneLayerElevationInfo(System.Nullable<dymaptic.GeoBlazor.Core.Enums.ElevationInfoMode> mode=null, System.Nullable<double> offset=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.ElevationUnit> unit=null);
Parameters
mode
System.Nullable<ElevationInfoMode>
Defines how the feature is placed with respect to the terrain surface.
ArcGIS Maps SDK for JavaScript
offset
System.Nullable<System.Double>
An elevation offset which is added to the vertical position of the feature.
ArcGIS Maps SDK for JavaScript
unit
System.Nullable<ElevationUnit>
The unit for offset
values.
ArcGIS Maps SDK for JavaScript
Properties
SceneLayerElevationInfo.Mode Property
Defines how the feature is placed with respect to the terrain surface.
ArcGIS Maps SDK for JavaScript
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.ElevationInfoMode> Mode { get; set; }
Property Value
System.Nullable<ElevationInfoMode>
SceneLayerElevationInfo.Offset Property
An elevation offset which is added to the vertical position of the feature.
ArcGIS Maps SDK for JavaScript
public System.Nullable<double> Offset { get; set; }
Property Value
System.Nullable<System.Double>
SceneLayerElevationInfo.Unit Property
The unit for offset
values.
ArcGIS Maps SDK for JavaScript
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.ElevationUnit> Unit { get; set; }
Property Value
System.Nullable<ElevationUnit>
Methods
SceneLayerElevationInfo.GetMode() Method
Asynchronously retrieve the current value of the Mode property.
public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.ElevationInfoMode>> GetMode();
Returns
System.Threading.Tasks.Task<System.Nullable<ElevationInfoMode>>
SceneLayerElevationInfo.GetOffset() Method
Asynchronously retrieve the current value of the Offset property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetOffset();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
SceneLayerElevationInfo.GetUnit() Method
Asynchronously retrieve the current value of the Unit property.
public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.ElevationUnit>> GetUnit();
Returns
System.Threading.Tasks.Task<System.Nullable<ElevationUnit>>
SceneLayerElevationInfo.SetMode(Nullable) Method
Asynchronously set the value of the Mode property after render.
public System.Threading.Tasks.Task SetMode(System.Nullable<dymaptic.GeoBlazor.Core.Enums.ElevationInfoMode> value);
Parameters
value
System.Nullable<ElevationInfoMode>
The value to set.
Returns
SceneLayerElevationInfo.SetOffset(Nullable) Method
Asynchronously set the value of the Offset property after render.
public System.Threading.Tasks.Task SetOffset(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Returns
SceneLayerElevationInfo.SetUnit(Nullable) Method
Asynchronously set the value of the Unit property after render.
public System.Threading.Tasks.Task SetUnit(System.Nullable<dymaptic.GeoBlazor.Core.Enums.ElevationUnit> value);
Parameters
value
System.Nullable<ElevationUnit>
The value to set.