GeoBlazor Pro


layout: pro title: FeatureSnappingLayerSource parent: Pro Classes grand_parent: 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, Guid) Constructor

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

public FeatureSnappingLayerSource(bool Enabled, System.Guid LayerId);

Parameters

Enabled System.Boolean

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

LayerId System.Guid

The GeoBlazor Id for 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.LayerId Property

The GeoBlazor Id for the source layer used for snapping.

public System.Guid LayerId { get; set; }

Property Value

System.Guid