menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class MapsAnnotation

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    MapsAnnotation
    Namespace: Syncfusion.EJ2.Maps
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class MapsAnnotation : EJTagHelper

    Constructors

    MapsAnnotation()

    Declaration
    public MapsAnnotation()

    Properties

    Content

    Gets or sets the content for the annotation in maps.

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

    The default value is ""

    HorizontalAlignment

    Gets or sets the type of the placement when the annotation is to be aligned horizontally.

    Declaration
    public AnnotationAlignment HorizontalAlignment { get; set; }
    Property Value
    Type Description
    AnnotationAlignment

    The default value is AnnotationAlignment.None

    VerticalAlignment

    Gets or sets the type of the placement when the annotation is to be aligned vertically.

    Declaration
    public AnnotationAlignment VerticalAlignment { get; set; }
    Property Value
    Type Description
    AnnotationAlignment

    The default value is AnnotationAlignment.None

    X

    Gets or sets the x position of the annotation in pixel or percentage format.

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

    The default value is "0px"

    Y

    Gets or sets the y position of the annotation in pixel or percentage format.

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

    The default value is "0px"

    ZIndex

    Gets or sets the z-index of the annotation in maps.

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

    The default value is "-1"

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