Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Maps API getDiv() Method

Maps API getDiv() Method

Map() Constructor Map() Constructor

Example

Returns the DOM object containing the map:

map.getDiv();

Try it »


Definition and Usage

The getDiv() method returns the DOM object containing the map.


Syntax

mapvariable

.getDiv();


Return Value

Value Description
DOMobject The DOM object containing the map.

Map() Constructor Map() Constructor