dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
FeatureSnappingLayerSource Class
The FeatureSnappingLayerSource specifies which layers will be utilized for snapping in the
SnappingOptions.
ArcGIS Maps SDK for JavaScript
public class FeatureSnappingLayerSource : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 FeatureSnappingLayerSource
Constructors
FeatureSnappingLayerSource() Constructor
Parameterless constructor for use as a Razor Component.
public FeatureSnappingLayerSource();
FeatureSnappingLayerSource(Nullable) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public FeatureSnappingLayerSource(System.Nullable<bool> enabled=null);
Parameters
enabled
System.Nullable<System.Boolean>
Indicates whether feature snapping is turned on or off.
default true
ArcGIS Maps SDK for JavaScript
Properties
FeatureSnappingLayerSource.Enabled Property
Indicates whether feature snapping is turned on or off.
default true
ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> Enabled { get; set; }
Property Value
System.Nullable<System.Boolean>
Methods
FeatureSnappingLayerSource.GetEnabled() Method
Asynchronously retrieve the current value of the Enabled property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetEnabled();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
FeatureSnappingLayerSource.GetLayer() Method
Asynchronously retrieve the current value of the Layer property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.Layer?> GetLayer();
Returns
System.Threading.Tasks.Task<Layer>
FeatureSnappingLayerSource.SetEnabled(Nullable) Method
Asynchronously set the value of the Enabled property after render.
public System.Threading.Tasks.Task SetEnabled(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.