Class MapsSelectionSettings
Gets or sets the option for customized the selection of shape in maps.
Inheritance
Namespace: Syncfusion.Blazor.Maps
Assembly: Syncfusion.Blazor.dll
Syntax
public class MapsSelectionSettings : OwningComponentBase
Constructors
MapsSelectionSettings()
Declaration
public MapsSelectionSettings()
Properties
Enable
Gets or sets a value indicating whether selection is enabled on the maps.
Declaration
public bool Enable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A boolean value indicating whether shape selection options are enabled. The default is |
Remarks
When this property is set to true
, users can select shapes on the map.
EnableMultiSelect
Gets or sets a value indicating whether multiple shapes can be selected in the maps.
Declaration
public bool EnableMultiSelect { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A boolean value indicating if multiple shape selection is enabled. The default is |
Remarks
Enable this property if you want to allow selection of multiple shapes on the map simultaneously.
Fill
Gets or sets the fill color for the selected shape.
Declaration
public string Fill { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string value that specifies the color used to fill a selected shape. |
Remarks
The fill color can be defined using CSS color values such as hex, rgb, rgba, or named colors.
Opacity
Gets or sets the opacity for the selected shape.
Declaration
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double value between 0 and 1 that indicates the opacity level of the selected shape. The default value is 1. |
Remarks
Set the opacity value to control the transparency level of the fill applied to selected shapes.