Class MapsAnnotationBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
MapsAnnotationBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.Maps
Assembly: Syncfusion.AspNetMvc.Maps.dll
Syntax
public class MapsAnnotationBuilder : ControlBuilder
Constructors
MapsAnnotationBuilder()
Declaration
public MapsAnnotationBuilder()
MapsAnnotationBuilder(List<MapsAnnotation>)
Declaration
public MapsAnnotationBuilder(List<MapsAnnotation> collection)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.List<MapsAnnotation> | collection |
Methods
Add()
Declaration
public void Add()
Content(String)
Gets or sets the content for the annotation in maps.
Declaration
public MapsAnnotationBuilder Content(string content)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | content |
Returns
| Type |
|---|
| MapsAnnotationBuilder |
HorizontalAlignment(AnnotationAlignment)
Gets or sets the type of the placement when the annotation is to be aligned horizontally.
Declaration
public MapsAnnotationBuilder HorizontalAlignment(AnnotationAlignment horizontalAlignment)
Parameters
| Type | Name | Description |
|---|---|---|
| AnnotationAlignment | horizontalAlignment |
Returns
| Type |
|---|
| MapsAnnotationBuilder |
VerticalAlignment(AnnotationAlignment)
Gets or sets the type of the placement when the annotation is to be aligned vertically.
Declaration
public MapsAnnotationBuilder VerticalAlignment(AnnotationAlignment verticalAlignment)
Parameters
| Type | Name | Description |
|---|---|---|
| AnnotationAlignment | verticalAlignment |
Returns
| Type |
|---|
| MapsAnnotationBuilder |
X(String)
Gets or sets the x position of the annotation in pixel or percentage format.
Declaration
public MapsAnnotationBuilder X(string x)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | x |
Returns
| Type |
|---|
| MapsAnnotationBuilder |
Y(String)
Gets or sets the y position of the annotation in pixel or percentage format.
Declaration
public MapsAnnotationBuilder Y(string y)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | y |
Returns
| Type |
|---|
| MapsAnnotationBuilder |
ZIndex(String)
Gets or sets the z-index of the annotation in maps.
Declaration
public MapsAnnotationBuilder ZIndex(string zIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | zIndex |
Returns
| Type |
|---|
| MapsAnnotationBuilder |