Class MapsMarkerBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
MapsMarkerBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class MapsMarkerBuilder : ControlBuilder
Constructors
MapsMarkerBuilder()
Declaration
public MapsMarkerBuilder()
MapsMarkerBuilder(List<MapsMarker>)
Declaration
public MapsMarkerBuilder(List<MapsMarker> collection)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<MapsMarker> |
collection |
|
Methods
Add()
Declaration
AnimationDelay(Double)
Gets or sets the delay time for the animation in marker.
Declaration
public MapsMarkerBuilder AnimationDelay(double animationDelay)
Parameters
Type |
Name |
Description |
System.Double |
animationDelay |
|
Returns
AnimationDuration(Double)
Gets or sets the duration time for animating the marker.
Declaration
public MapsMarkerBuilder AnimationDuration(double animationDuration)
Parameters
Type |
Name |
Description |
System.Double |
animationDuration |
|
Returns
Border(MapsBorder)
Gets or sets the options for customizing the style properties of the border of the marker in maps.
Declaration
public MapsMarkerBuilder Border(MapsBorder border)
Parameters
Returns
Border(Action<MapsBorderBuilder>)
Declaration
public MapsMarkerBuilder Border(Action<MapsBorderBuilder> border)
Parameters
Returns
ClusterSettings(Object)
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 MapsMarkerBuilder ClusterSettings(object clusterSettings)
Parameters
Type |
Name |
Description |
System.Object |
clusterSettings |
|
Returns
ColorValuePath(String)
Gets or sets the field name from the marker data source based on which the color is applied for the marker.
Declaration
public MapsMarkerBuilder ColorValuePath(string colorValuePath)
Parameters
Type |
Name |
Description |
System.String |
colorValuePath |
|
Returns
DashArray(String)
Gets or sets the dash-array for the marker.
Declaration
public MapsMarkerBuilder DashArray(string dashArray)
Parameters
Type |
Name |
Description |
System.String |
dashArray |
|
Returns
DataSource(Action<DataManagerBuilder>)
Declaration
public MapsMarkerBuilder DataSource(Action<DataManagerBuilder> dataSource)
Parameters
Type |
Name |
Description |
System.Action<Syncfusion.EJ2.DataManagerBuilder> |
dataSource |
|
Returns
DataSource(Object)
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 MapsMarkerBuilder DataSource(object dataSource)
Parameters
Type |
Name |
Description |
System.Object |
dataSource |
|
Returns
EnableDrag(Boolean)
Enables or disables marker drag and drop functionality at any location on the map.
Declaration
public MapsMarkerBuilder EnableDrag(bool enableDrag)
Parameters
Type |
Name |
Description |
System.Boolean |
enableDrag |
|
Returns
Fill(String)
Gets or sets the color for the marker in maps.
Declaration
public MapsMarkerBuilder Fill(string fill)
Parameters
Type |
Name |
Description |
System.String |
fill |
|
Returns
Height(Double)
Gets or sets the height of the marker in maps.
Declaration
public MapsMarkerBuilder Height(double height)
Parameters
Type |
Name |
Description |
System.Double |
height |
|
Returns
HeightValuePath(String)
Gets or sets the field name from the data source that determines the marker height.
Declaration
public MapsMarkerBuilder HeightValuePath(string heightValuePath)
Parameters
Type |
Name |
Description |
System.String |
heightValuePath |
|
Returns
HighlightSettings(MapsHighlightSettings)
Gets or sets the options to customize the marker when the mouse hovers over the markers in maps.
Declaration
public MapsMarkerBuilder HighlightSettings(MapsHighlightSettings highlightSettings)
Parameters
Returns
HighlightSettings(Action<MapsHighlightSettingsBuilder>)
Declaration
public MapsMarkerBuilder HighlightSettings(Action<MapsHighlightSettingsBuilder> highlightSettings)
Parameters
Returns
ImageUrl(String)
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 MapsMarkerBuilder ImageUrl(string imageUrl)
Parameters
Type |
Name |
Description |
System.String |
imageUrl |
|
Returns
ImageUrlValuePath(String)
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 MapsMarkerBuilder ImageUrlValuePath(string imageUrlValuePath)
Parameters
Type |
Name |
Description |
System.String |
imageUrlValuePath |
|
Returns
InitialMarkerSelection(Object)
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 MapsMarkerBuilder InitialMarkerSelection(object initialMarkerSelection)
Parameters
Type |
Name |
Description |
System.Object |
initialMarkerSelection |
|
Returns
LatitudeValuePath(String)
Defines the field name from the marker data source for setting latitude for a set of markers.
Declaration
public MapsMarkerBuilder LatitudeValuePath(string latitudeValuePath)
Parameters
Type |
Name |
Description |
System.String |
latitudeValuePath |
|
Returns
LegendText(String)
Gets or sets the field name from the marker data source to render legend item text for the marker legend.
Declaration
public MapsMarkerBuilder LegendText(string legendText)
Parameters
Type |
Name |
Description |
System.String |
legendText |
|
Returns
LongitudeValuePath(String)
Defines the field name from the marker data source for setting longitude for a set of markers.
Declaration
public MapsMarkerBuilder LongitudeValuePath(string longitudeValuePath)
Parameters
Type |
Name |
Description |
System.String |
longitudeValuePath |
|
Returns
Offset(Object)
Gets or sets the offset value from which the marker must be rendered from the intended position.
Declaration
public MapsMarkerBuilder Offset(object offset)
Parameters
Type |
Name |
Description |
System.Object |
offset |
|
Returns
Opacity(Double)
Gets or sets the opacity for the marker in maps.
Declaration
public MapsMarkerBuilder Opacity(double opacity)
Parameters
Type |
Name |
Description |
System.Double |
opacity |
|
Returns
Query(String)
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 MapsMarkerBuilder Query(string query)
Parameters
Type |
Name |
Description |
System.String |
query |
|
Returns
SelectionSettings(MapsSelectionSettings)
Gets or sets the options to customize the marker while selecting the marker in maps.
Declaration
public MapsMarkerBuilder SelectionSettings(MapsSelectionSettings selectionSettings)
Parameters
Returns
SelectionSettings(Action<MapsSelectionSettingsBuilder>)
Declaration
public MapsMarkerBuilder SelectionSettings(Action<MapsSelectionSettingsBuilder> selectionSettings)
Parameters
Returns
Shape(MarkerType)
Gets or sets the shape of the marker in maps.
Declaration
public MapsMarkerBuilder Shape(MarkerType shape)
Parameters
Returns
ShapeValuePath(String)
Gets or sets the field name from the marker data source based on which the shape for individual markers are set.
Declaration
public MapsMarkerBuilder ShapeValuePath(string shapeValuePath)
Parameters
Type |
Name |
Description |
System.String |
shapeValuePath |
|
Returns
Template(String)
Gets or sets the template for the marker to render custom elements.
Declaration
public MapsMarkerBuilder Template(string template)
Parameters
Type |
Name |
Description |
System.String |
template |
|
Returns
Gets or sets the options to customize the tooltip of the marker in maps.
Declaration
public MapsMarkerBuilder TooltipSettings(MapsTooltipSettings tooltipSettings)
Parameters
Returns
Declaration
public MapsMarkerBuilder TooltipSettings(Action<MapsTooltipSettingsBuilder> tooltipSettings)
Parameters
Returns
Visible(Boolean)
Enables or disables the visibility of the markers in maps.
Declaration
public MapsMarkerBuilder Visible(bool visible)
Parameters
Type |
Name |
Description |
System.Boolean |
visible |
|
Returns
Width(Double)
Gets or sets the width of the marker in maps.
Declaration
public MapsMarkerBuilder Width(double width)
Parameters
Type |
Name |
Description |
System.Double |
width |
|
Returns
WidthValuePath(String)
Gets or sets the field name from the data source that determines the marker width.
Declaration
public MapsMarkerBuilder WidthValuePath(string widthValuePath)
Parameters
Type |
Name |
Description |
System.String |
widthValuePath |
|
Returns