Class MapsTooltipSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
MapsTooltipSettingsBuilder
Assembly: Syncfusion.EJ2.dll
public class MapsTooltipSettingsBuilder : ControlBuilder
Constructors
Declaration
public MapsTooltipSettingsBuilder()
Declaration
public MapsTooltipSettingsBuilder(MapsTooltipSettings model)
Parameters
Methods
Gets or sets the options for customizing the style properties of the border of the tooltip in layers, markers, and bubbles of maps.
Declaration
public MapsTooltipSettingsBuilder Border(MapsBorder value)
Parameters
Returns
Declaration
public MapsTooltipSettingsBuilder Border(Action<MapsBorderBuilder> border)
Parameters
Returns
Specifies the value within which the tooltip will be removed on a mobile device. The value represents time in milliseconds.
If the value is set to 0, the tooltip will not be removed. If the value is set to greater than 0, the tooltip will be removed at the specified time.
Declaration
public MapsTooltipSettingsBuilder Duration(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Gets or sets the color of the tooltip in layers, markers, and bubbles of maps.
Declaration
public MapsTooltipSettingsBuilder Fill(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Gets or sets the format of the tooltip in layers, markers, and bubbles of maps.
Declaration
public MapsTooltipSettingsBuilder Format(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Gets or sets the tooltip template of layers, markers, and bubbles in maps to display custom elements as tooltip.
Declaration
public MapsTooltipSettingsBuilder Template(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
TextStyle(MapsFont)
Gets or sets the options for customizing the style of the text in tooltip for layers, markers, and bubbles of maps.
Declaration
public MapsTooltipSettingsBuilder TextStyle(MapsFont value)
Parameters
Returns
TextStyle(Action<MapsFontBuilder>)
Declaration
public MapsTooltipSettingsBuilder TextStyle(Action<MapsFontBuilder> textStyle)
Parameters
Returns
Gets or sets the field name from the data source based on which the tooltip is visible on layers, markers, and bubbles of maps.
For the layer tooltip, the field name from the GeoJSON data can also be set.
Declaration
public MapsTooltipSettingsBuilder ValuePath(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Enables or disables the tooltip visibility of layers, markers, and bubbles in maps.
Declaration
public MapsTooltipSettingsBuilder Visible(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns