GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components

SelectionTools Class

The available selection tools within the widget.

public class SelectionTools : dymaptic.GeoBlazor.Core.Components.MapComponent

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 SelectionTools

Remarks

Known Limitation: Rectangle and lasso selection is only supported when working with a MapView.

Constructors

SelectionTools() Constructor

Parameterless constructor for use as a Razor Component.

public SelectionTools();

SelectionTools(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 SelectionTools(System.Nullable<bool> lassoSelection=true, System.Nullable<bool> rectangleSelection=true);

Parameters

lassoSelection System.Nullable<System.Boolean>

Indicates whether to display the “lasso-selection” tool. Default is true.

rectangleSelection System.Nullable<System.Boolean>

Indicates whether to display the “rectangle-selection” tool. Default is true.

Properties

SelectionTools.LassoSelection Property

Indicates whether to display the “lasso-selection” tool. Default is true.

public System.Nullable<bool> LassoSelection { get; set; }

Property Value

System.Nullable<System.Boolean>

SelectionTools.RectangleSelection Property

Indicates whether to display the “rectangle-selection” tool. Default is true.

public System.Nullable<bool> RectangleSelection { get; set; }

Property Value

System.Nullable<System.Boolean>