MarkerDirective

12 Sep 20253 minutes to read

Represents the directive to define the markers in the maps.

<e-layers>
<e-layer>
<e-markerSettings>
<e-markerSetting>
</e-markerSetting>
</e-markerSettings>
</e-layer>
</e-layers>

Properties

animationDelay any

Gets or sets the delay time for the animation in marker.

Defaults to 0

animationDuration any

Gets or sets the duration time for animating the marker.

Defaults to 1000

border any

Gets or sets the options for customizing the style properties of the border of the marker in maps.

clusterSettings any

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.

colorValuePath any

Gets or sets the field name from the marker data source based on which the color is applied for the marker.

Defaults to null

dashArray any

Gets or sets the dash-array for the marker.

dataSource any

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.

Defaults to []

enableDrag any

Enables or disables marker drag and drop functionality at any location on the map.

Defaults to false

fill any

Gets or sets the color for the marker in maps.

Defaults to ‘#FF471A’

height any

Gets or sets the height of the marker in maps.

Defaults to 10

heightValuePath any

Gets or sets the field name from the data source that determines the marker height.

Defaults to null

highlightSettings any

Gets or sets the options to customize the marker when the mouse hovers over the markers in maps.

imageUrl any

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.

imageUrlValuePath any

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.

Defaults to null

initialMarkerSelection any

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.

latitudeValuePath any

Defines the field name from the marker data source for setting latitude for a set of markers.

legendText any

Gets or sets the field name from the marker data source to render legend item text for the marker legend.

Defaults to ’’

longitudeValuePath any

Defines the field name from the marker data source for setting longitude for a set of markers.

offset any

Gets or sets the offset value from which the marker must be rendered from the intended position.

opacity any

Gets or sets the opacity for the marker in maps.

Defaults to 1

query any

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.

Defaults to null

selectionSettings any

Gets or sets the options to customize the marker while selecting the marker in maps.

shape any

Gets or sets the shape of the marker in maps.

Defaults to Balloon

shapeValuePath any

Gets or sets the field name from the marker data source based on which the shape for individual markers are set.

Defaults to null

template any

Gets or sets the template for the marker to render custom elements.

Defaults to null

tooltipSettings any

Gets or sets the options to customize the tooltip of the marker in maps.

visible any

Enables or disables the visibility of the markers in maps.

Defaults to false

width any

Gets or sets the width of the marker in maps.

Defaults to 10

widthValuePath any

Gets or sets the field name from the data source that determines the marker width.

Defaults to null