Latest web development tutorials
 

Google Maps API getDiv() Method

< Map() Constructor

Example

Return the DOM object that contains the map:

map.getDiv();
Try it Yourself »

Definition and Usage

The getDiv() method returns a DOM object that contains the map.


Syntax

mapvariable.getDiv();

Return Values

Value Description
DOMobject The DOM object that contains the map

< Map() Constructor