GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components.Widgets

FeatureSnappingLayerSource Class

The FeatureSnappingLayerSource specifies which layers will be utilized for snapping in the SnappingOptions.

public class FeatureSnappingLayerSource :
System.IEquatable<dymaptic.GeoBlazor.Pro.Components.Widgets.FeatureSnappingLayerSource>

Inheritance System.Object 🡒 FeatureSnappingLayerSource

Implements System.IEquatable<FeatureSnappingLayerSource>

Remarks

Known Limitations: Layer types currently supported for snapping are: FeatureLayer, GraphicsLayer, GeoJSONLayer, and CSVLayer.

Constructors

FeatureSnappingLayerSource(bool, Layer) Constructor

The FeatureSnappingLayerSource specifies which layers will be utilized for snapping in the SnappingOptions.

public FeatureSnappingLayerSource(bool Enabled, dymaptic.GeoBlazor.Core.Components.Layers.Layer Layer);

Parameters

Enabled System.Boolean

Indicates whether feature snapping is turned on or off.
Default Value:true

Layer dymaptic.GeoBlazor.Core.Components.Layers.Layer

The source layer used for snapping.

Remarks

Known Limitations: Layer types currently supported for snapping are: FeatureLayer, GraphicsLayer, GeoJSONLayer, and CSVLayer.

Properties

FeatureSnappingLayerSource.Enabled Property

Indicates whether feature snapping is turned on or off.
Default Value:true

public bool Enabled { get; set; }

Property Value

System.Boolean

FeatureSnappingLayerSource.Layer Property

The source layer used for snapping.

public dymaptic.GeoBlazor.Core.Components.Layers.Layer Layer { get; set; }

Property Value

dymaptic.GeoBlazor.Core.Components.Layers.Layer