Class MapsMarker
Inheritance
Namespace: Syncfusion.EJ2.Maps
Assembly: Syncfusion.EJ2.dll
Syntax
public class MapsMarker : EJTagHelper
Constructors
MapsMarker()
Declaration
public MapsMarker()
Properties
AnimationDelay
Gets or sets the delay time for the animation in marker.
Declaration
public double AnimationDelay { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 0 |
AnimationDuration
Gets or sets the duration time for animating the marker.
Declaration
public double AnimationDuration { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 1000 |
Border
Gets or sets the options for customizing the style properties of the border of the marker in maps.
Declaration
public MapsBorder Border { get; set; }
Property Value
Type | Description |
---|---|
MapsBorder | The default value is null |
ClusterSettings
Gets or sets the options for customizing the clustering of markers on the map.
This property is used to cluster markers based on the current marker settings, and it is applied only when the allowClustering
property is enabled.
Declaration
public object ClusterSettings { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
ColorValuePath
Gets or sets the field name from the marker data source based on which the color is applied for the marker.
Declaration
public string ColorValuePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
DashArray
Gets or sets the dash-array for the marker.
Declaration
public string DashArray { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
DataSource
Gets or sets the data source for the marker. The data source for the marker will contain latitude and longitude values to specify the location of the marker. The data source can contain data such as color, shape, and other details that can be bound to the color, shape, and tooltip of the marker.
Declaration
public object DataSource { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
EnableDrag
Enables or disables marker drag and drop functionality at any location on the map.
Declaration
public bool EnableDrag { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
Fill
Gets or sets the color for the marker in maps.
Declaration
public string Fill { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "#FF471A" |
Height
Gets or sets the height of the marker in maps.
Declaration
public double Height { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 10 |
HeightValuePath
Gets or sets the field name from the data source that determines the marker height.
Declaration
public string HeightValuePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
HighlightSettings
Gets or sets the options to customize the marker when the mouse hovers over the markers in maps.
Declaration
public MapsHighlightSettings HighlightSettings { get; set; }
Property Value
Type | Description |
---|---|
MapsHighlightSettings | The default value is null |
ImageUrl
Gets or sets the URL for rendering the marker as image. This property acts as image source for all the markers in a marker settings.
Declaration
public string ImageUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
ImageUrlValuePath
Gets or sets the field name from the marker data source based on which the image source for the image type marker is got individually.
Declaration
public string ImageUrlValuePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
InitialMarkerSelection
Gets or sets the options to select the markers at the initial rendering time of the maps. The initial selection of markers will be performed only when the selection functionality of marker is enabled.
Declaration
public object InitialMarkerSelection { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
LatitudeValuePath
Defines the field name from the marker data source for setting latitude for a set of markers.
Declaration
public string LatitudeValuePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
LegendText
Gets or sets the field name from the marker data source to render legend item text for the marker legend.
Declaration
public string LegendText { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
LongitudeValuePath
Defines the field name from the marker data source for setting longitude for a set of markers.
Declaration
public string LongitudeValuePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Offset
Gets or sets the offset value from which the marker must be rendered from the intended position.
Declaration
public object Offset { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
Opacity
Gets or sets the opacity for the marker in maps.
Declaration
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 1 |
Query
Gets or sets the query to select particular data from the marker data source. This property is applicable only when the data source is created by data manager.
Declaration
public string Query { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
SelectionSettings
Gets or sets the options to customize the marker while selecting the marker in maps.
Declaration
public MapsSelectionSettings SelectionSettings { get; set; }
Property Value
Type | Description |
---|---|
MapsSelectionSettings | The default value is null |
Shape
Gets or sets the shape of the marker in maps.
Declaration
public MarkerType Shape { get; set; }
Property Value
Type | Description |
---|---|
MarkerType | The default value is MarkerType.Balloon |
ShapeValuePath
Gets or sets the field name from the marker data source based on which the shape for individual markers are set.
Declaration
public string ShapeValuePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Template
Gets or sets the template for the marker to render custom elements.
Declaration
public string Template { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
TooltipSettings
Gets or sets the options to customize the tooltip of the marker in maps.
Declaration
public MapsTooltipSettings TooltipSettings { get; set; }
Property Value
Type | Description |
---|---|
MapsTooltipSettings | The default value is null |
Visible
Enables or disables the visibility of the markers in maps.
Declaration
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
Width
Gets or sets the width of the marker in maps.
Declaration
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 10 |
WidthValuePath
Gets or sets the field name from the data source that determines the marker width.
Declaration
public string WidthValuePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |