Class MapsAnnotation
Sets and gets the options for customizing the annotation of the maps.
Inheritance
Namespace: Syncfusion.Blazor.Maps
Assembly: Syncfusion.Blazor.dll
Syntax
public class MapsAnnotation : OwningComponentBase
Constructors
MapsAnnotation()
Declaration
public MapsAnnotation()
Properties
ChildContent
Gets or sets the content of the UI element.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment |
ContentTemplate
Gets or sets the content of the annotation in maps.
Declaration
public RenderFragment ContentTemplate { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment |
HorizontalAlignment
Gets or sets the annotation element to be aligned horizontally.
Declaration
public AnnotationAlignment HorizontalAlignment { get; set; }
Property Value
Type |
---|
AnnotationAlignment |
VerticalAlignment
Gets or sets the annotation element to be aligned vertically.
Declaration
public AnnotationAlignment VerticalAlignment { get; set; }
Property Value
Type |
---|
AnnotationAlignment |
X
Gets or sets the x position of the annotation in maps component.
Declaration
public string X { get; set; }
Property Value
Type |
---|
System.String |
Y
Gets or sets the y position of the annotation in maps component.
Declaration
public string Y { get; set; }
Property Value
Type |
---|
System.String |
ZIndex
Gets or sets the z-index of the annotation in maps component.
Declaration
public string ZIndex { get; set; }
Property Value
Type |
---|
System.String |
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. |