Fields

This section describes the fields that can be used in code to manipulate the Marker object.

text

Deprecated

Get the text using the Layer Element.attribute(name) method. The name parameter value for text is set at the dataField option.

Contains the descriptive text accompanying the map marker.

Type:

String

type

Deprecated

Use the type instead.

Contains the type of the element.

Type:

String

This field can be used to recognize whether an element is an area or a marker since it equals either the 'area' or 'marker'.

url

Deprecated

Get the image URL using the Layer Element.attribute(name) method. The name parameter value for the image URL is set at the dataField option.

Contains the URL of an image map marker.

Type:

String

value

Deprecated

Get the bubble value using the Layer Element.attribute(name) method. The name parameter for the bubble value is set at the dataField option.

Contains the value of a bubble map marker.

Type:

Number

values

Deprecated

Get the pie values using the Layer Element.attribute(name) method. The name parameter for pie values is set at the dataField option.

Contains the values of a pie map marker.

Type:

Array<Number>