menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MapsTooltipSettings - ASP.NETCore-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class MapsTooltipSettings

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    MapsTooltipSettings
    BubbleSettingsTooltipSettingsBubbleSettings
    LayerSettingsTooltipSettingsLayers
    Namespace: Syncfusion.EJ2.Maps
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class MapsTooltipSettings : EJTagHelper

    Constructors

    MapsTooltipSettings()

    Declaration
    public MapsTooltipSettings()

    Properties

    Border

    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 MapsBorder Border { get; set; }
    Property Value
    Type Description
    MapsBorder

    The default value is null

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    Duration

    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 double Duration { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 2000

    Fill

    Gets or sets the color of the tooltip in layers, markers, and bubbles of maps.

    Declaration
    public string Fill { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    Format

    Gets or sets the format of the tooltip in layers, markers, and bubbles of maps.

    Declaration
    public string Format { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Template

    Gets or sets the tooltip template of layers, markers, and bubbles in maps to display custom elements as tooltip.

    Declaration
    public string Template { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    TextStyle

    Gets or sets the options for customizing the style of the text in tooltip for layers, markers, and bubbles of maps.

    Declaration
    public MapsFont TextStyle { get; set; }
    Property Value
    Type Description
    MapsFont

    The default value is null

    ValuePath

    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 string ValuePath { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Visible

    Enables or disables the tooltip visibility of layers, markers, and bubbles in maps.

    Declaration
    public bool Visible { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved