areas property

Retrieves a collection of the area objects defined for the given map object.

Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5




p = object.areas


Property values

Type: IHTMLAreasCollection

Array of area objects.

Standards information


Areas can be added to or removed from the collection. If duplicate identifiers are found, a collection of those items is returned. Collections of duplicates must be referenced subsequently by ordinal position.

Use of the Area operator is not supported for adding areas to the collection. Instead, use the createElement and add methods. Alternatively, use the insertAdjacentHTML method.



© 2015 Microsoft