Class MapsBubble<TValue>
Sets and gets the bubble of the maps.
Implements
Inherited Members
Namespace: Syncfusion.Blazor.Maps
Assembly: Syncfusion.Blazor.dll
Syntax
public class MapsBubble<TValue> : SfDataBoundComponent, IBubble
Type Parameters
Name | Description |
---|---|
TValue | represents the class name of the data source. |
Constructors
MapsBubble()
Declaration
public MapsBubble()
Properties
AnimationDelay
Gets or sets the delay in animation for bubble in maps.
Declaration
public double AnimationDelay { get; set; }
Property Value
Type |
---|
System.Double |
AnimationDuration
Gets or sets the duration for the animation for bubble in maps.
Declaration
public double AnimationDuration { get; set; }
Property Value
Type |
---|
System.Double |
BubbleType
Gets or sets the type of the bubble in maps.
Declaration
public BubbleType BubbleType { get; set; }
Property Value
Type |
---|
BubbleType |
ChildContent
Gets or sets the content of the UI element.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment |
ColorValuePath
Gets or sets the value from the data source of bubble settings for the color of the bubble in maps.
Declaration
public string ColorValuePath { get; set; }
Property Value
Type |
---|
System.String |
DataSource
Gets or sets the data source for the bubble. The data source must contain the size value of the bubble that can be bound to the bubble of the Maps using the valuePath property in the bubbleSettings. The data source can contain data such as color, and the other information that can be bound to the bubble, and tooltip of the bubble.
Declaration
public IEnumerable<object> DataSource { get; set; }
Property Value
Type |
---|
System.Collections.Generic.IEnumerable<System.Object> |
Fill
Gets or sets the color for the bubble in maps.
Declaration
public string Fill { get; set; }
Property Value
Type |
---|
System.String |
MaxRadius
Gets or sets the maximum radius for the bubble in maps.
Declaration
public double MaxRadius { get; set; }
Property Value
Type |
---|
System.Double |
MinRadius
Gets or sets the minimum radius for the bubble in maps.
Declaration
public double MinRadius { get; set; }
Property Value
Type |
---|
System.Double |
Opacity
Gets or sets the opacity of the bubble in maps.
Declaration
public double Opacity { get; set; }
Property Value
Type |
---|
System.Double |
Query
Gets or sets the query to select particular data from the bubble data. This property is applicable only when the data source is created by data manager.
Declaration
public Query Query { get; set; }
Property Value
Type |
---|
Query |
ValuePath
Gets or sets the value from the data source of bubble settings for the bubble to be rendered in maps.
Declaration
public string ValuePath { get; set; }
Property Value
Type |
---|
System.String |
Visible
Gets or sets a value indicating whether or not to enable the visibility state of the bubbles in maps.
Declaration
public bool Visible { get; set; }
Property Value
Type |
---|
System.Boolean |
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 |
Overrides
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. |
Overrides
OnObservableChange(String, Object, Boolean, NotifyCollectionChangedEventArgs)
INotifyCollectionChanged event handler to track the changes in the bubble data source.
Declaration
protected override void OnObservableChange(string propertyName, object sender, bool isCollectionChanged = false, NotifyCollectionChangedEventArgs e = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | Observable property name. |
System.Object | sender | Observable model object. |
System.Boolean | isCollectionChanged | Sets true if the observable collection changed. |
System.Collections.Specialized.NotifyCollectionChangedEventArgs | e | Changed Event Args |
Overrides
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. |