Search results

MarkerBase API in JavaScript (ES5) Maps API control

Sets and gets the options to customize the marker in the maps.

Properties

animationDelay

number

Sets and gets the delay time for the animation in marker.

Defaults to 0

animationDuration

number

Sets and gets the duration time for animating the marker.

Defaults to 1000

border

BorderModel

Sets and gets the options for customizing the color and width of the border for the marker in maps.

colorValuePath

string

Sets and gets the value path from the marker data source to apply color for the marker.

Defaults to null

dashArray

string

Sets and gets the dash-array for the marker.

dataSource

Object[] | DataManager

Sets and gets 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 []

fill

string

Sets and gets the color for the marker in maps.

Defaults to ‘#FF471A’

height

number

Sets and gets the height of the marker in maps.

Defaults to 10

highlightSettings

HighlightSettingsModel

Sets and gets the options to customize the marker while the mouse has hovered on the marker in maps.

imageUrl

string

Sets and gets the URL for rendering the marker as image.

imageUrlValuePath

string

Sets and gets the value path from the marker data source for the image of the marker.

Defaults to null

initialMarkerSelection

InitialMarkerSelectionSettingsModel[]

To select the shape at the rendering time.

latitudeValuePath

string

Defines the value path from the marker data source for setting latitude for a set of markers.

legendText

string

Sets and gets the text for the legend from the marker data source.

Defaults to

longitudeValuePath

string

Defines the value path from the marker data source for setting longitude for a set of markers.

offset

Point

Sets and gets the position to move the marker by setting specific value.

opacity

number

Sets and gets the opacity for the marker in maps.

Defaults to 1

query

Query

Sets and gets the query to select particular data from the marker data. This property is applicable only when the data source is created by data manager.

Defaults to null

selectionSettings

SelectionSettingsModel

Sets and gets the options to customize the marker while selecting the marker in maps.

shape

string

Sets and gets the shape of the marker in maps.

Defaults to Balloon

shapeValuePath

string

Sets and gets the value path from the marker data source to set the shape of the marker.

Defaults to null

template

string

Sets and gets the template for the marker.

Defaults to null

tooltipSettings

TooltipSettingsModel

Sets and gets the options to customize the tooltip for the marker in maps.

visible

boolean

Enables or disables the visibility state of the marker based on the marker data source in maps.

Defaults to false

width

number

Sets and gets the width of the marker in maps.

Defaults to 10