Class MapsTooltipSettings
Sets and gets the options for customizing the tooltip of the layer in maps.
Inheritance
Namespace: Syncfusion.Blazor.Maps
Assembly: Syncfusion.Blazor.dll
Syntax
public class MapsTooltipSettings : OwningComponentBase
Constructors
MapsTooltipSettings()
Declaration
public MapsTooltipSettings()
Properties
Duration
Gets or sets the duration for which the tooltip is displayed on mobile devices.
Declaration
public double Duration { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double representing the duration in milliseconds. Default value is 2000 milliseconds. |
Remarks
This property determines how long the tooltip remains visible on mobile devices. Setting it to 0 means the tooltip does not disappear automatically.
Fill
Gets or sets the fill color of the tooltip in layers, markers, and bubbles of maps.
Declaration
public string Fill { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the tooltip's fill color. Default is |
Remarks
This property allows you to set a specific color for the tooltip background across layers, markers, and bubbles.
Format
Gets or sets the format string of the tooltip in layers, markers, and bubbles of maps.
Declaration
public string Format { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string that specifies the tooltip's display format. |
Remarks
Use this property to define the content layout or placeholder replacements within the tooltip.
ValuePath
Gets or sets the field from the data source that determines tooltip visibility in layers, markers, and bubbles of maps.
Declaration
public string ValuePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string specifying the field name in the data source that is used for tooltip content. |
Remarks
This property specifies which data source field's values should appear in the tooltip when interacting with map elements.
Visible
Gets or sets a value indicating whether the tooltip visibility is enabled for layers, markers, and bubbles in maps.
Declaration
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A boolean value where |
Remarks
This property allows you to toggle the visibility of tooltips across different elements in the map.