MarkerBase

23 Sep 20253 minutes to read

Gets or sets the options to customize the markers in the maps.

Properties

animationDelay number

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

Defaults to 0

animationDuration number

Gets or sets the duration time for animating the marker.

Defaults to 1000

border BorderModel

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

clusterSettings MarkerClusterSettingsModel

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 string

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 string

Gets or sets the dash-array for the marker.

dataSource Object[]|DataManager

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 boolean

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

Defaults to false

fill string

Gets or sets the color for the marker in maps.

Defaults to ‘#FF471A’

height number

Gets or sets the height of the marker in maps.

Defaults to 10

heightValuePath string

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

Defaults to null

highlightSettings HighlightSettingsModel

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

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.

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.

Defaults to null

initialMarkerSelection InitialMarkerSelectionSettingsModel[]

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 string

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

legendText string

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

Defaults to ’’

longitudeValuePath string

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

offset Point

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

opacity number

Gets or sets the opacity for the marker in maps.

Defaults to 1

query 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.

Defaults to null

selectionSettings SelectionSettingsModel

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

shape MarkerType

Gets or sets the shape of the marker in maps.

Defaults to Balloon

shapeValuePath string

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 string|Function

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

Defaults to null

tooltipSettings TooltipSettingsModel

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

visible boolean

Enables or disables the visibility of the markers in maps.

Defaults to false

width number

Gets or sets the width of the marker in maps.

Defaults to 10

widthValuePath string

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

Defaults to null