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


Contains the element type.

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

Show Example:

In this example, tooltips are enabled only for areas. The type field of a map element is used to distinguish areas from markers. Hover over any area to see its tooltip.