Class MapsNavigationLine
Gets or sets the option for the customization of navigation-line for the maps.
Inheritance
Namespace: Syncfusion.Blazor.Maps
Assembly: Syncfusion.Blazor.dll
Syntax
public class MapsNavigationLine : OwningComponentBase
Constructors
MapsNavigationLine()
Declaration
public MapsNavigationLine()
Properties
Angle
Gets or sets the angle of the curve connecting different locations in the maps.
Declaration
public double Angle { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A System.Double representing the angle in degrees. |
Remarks
This property defines the curvature of navigation lines.
ChildContent
Gets or sets the content of the UI element.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.RenderFragment | A Microsoft.AspNetCore.Components.RenderFragment representing the UI content. |
Remarks
This property allows for the inclusion of additional UI elements within the navigation line configuration.
Color
Gets or sets the color for the navigation lines in the maps.
Declaration
public string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.String representing the color, with a default of "black". |
Remarks
This property sets the stroke color of navigation lines.
DashArray
Gets or sets the dash-array for the navigation lines drawn in the maps.
Declaration
public string DashArray { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.String representing the dash pattern. |
Remarks
Use this property to define a dash pattern for navigation lines.
Latitude
Gets or sets the latitude values for the navigation lines drawn in the maps.
Declaration
public double[] Latitude { get; set; }
Property Value
Type | Description |
---|---|
System.Double[] | An array of System.Double values representing the latitude coordinates. |
Remarks
This property specifies the starting and ending points of the navigation lines.
Longitude
Gets or sets the longitude values for the navigation lines drawn in the maps.
Declaration
public double[] Longitude { get; set; }
Property Value
Type | Description |
---|---|
System.Double[] | An array of System.Double values representing the longitude coordinates. |
Remarks
This property specifies the starting and ending points of the navigation lines.
Visible
Enables or disables the navigation lines to be drawn in the maps.
Declaration
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A System.Boolean indicating the visibility state of the navigation lines. |
Remarks
Control the display of navigation lines using this property.
Width
Gets or sets the width of the navigation lines in maps.
Declaration
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A System.Double representing the width, with a default of 1. |
Remarks
This property sets the thickness of the navigation lines.
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
Dispose(Boolean)
Disposes the property values during the destroy of the component that is hold up for the execution of the component.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
OnInitializedAsync()
OnInitializedAsync method is called when the component has received its initial parameters.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | System.Threading.Tasks.Task representing the asynchronous operation. |
OnParametersSetAsync()
OnParametersSetAsync is a lifecycle method that is invoked when the component has received parameters, and the incoming values have been assigned to the properties.
Declaration
protected override Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | System.Threading.Tasks.Task representing the asynchronous operation. |