dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components.Layers
ElevationLayer Class
ElevationLayer is a tile layer used for rendering elevations in SceneViews. A default world elevation layer can be
added to the map by setting the map’s ground property to world-elevation.
ArcGIS
JS API
</a>
public class ElevationLayer : dymaptic.GeoBlazor.Core.Components.Layers.Layer
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 Layer 🡒 ElevationLayer
Properties
ElevationLayer.LayerType Property
Used internally to identify the sub type of Layer
public override string LayerType { get; }
Property Value
ElevationLayer.PortalItem Property
The portal item from which the layer is loaded. If the portal item references a Feature Service or Scene Service,
then you can specify a single layer to load with the layerId property.
public dymaptic.GeoBlazor.Core.Components.PortalItem? PortalItem { get; set; }
Property Value
ElevationLayer.Url Property
URL pointing to the Elevation layer resource on an ArcGIS Image Server.
public string? Url { get; set; }
Property Value
Methods
ElevationLayer.RegisterChildComponent(MapComponent) Method
Called from dymaptic.GeoBlazor.Core.Components.MapComponent.OnAfterRenderAsync(System.Boolean) to “Register” the current component with it’s parent.
public override System.Threading.Tasks.Task RegisterChildComponent(dymaptic.GeoBlazor.Core.Components.MapComponent child);
Parameters
child
MapComponent
The calling, child component to register
Returns
Exceptions
InvalidChildElementException
Throws if the current child is not a valid sub-component to the parent.
ElevationLayer.UnregisterChildComponent(MapComponent) Method
Undoes the “Registration” of a child with its parent.
public override System.Threading.Tasks.Task UnregisterChildComponent(dymaptic.GeoBlazor.Core.Components.MapComponent child);
Parameters
child
MapComponent
The child to unregister
Returns
ElevationLayer.ValidateRequiredChildren() Method
When a MapView is prepared to render, this will check to make sure that all properties with the
RequiredPropertyAttribute are provided.
public override void ValidateRequiredChildren();
Exceptions
MissingRequiredChildElementException
The consumer needs to provide the missing child component
MissingRequiredOptionsChildElementException
The consumer needs to provide ONE of the options of child components