Latest web development tutorials

Maps API getDiv () method

Map () constructor Map () constructor

Examples

Returns the DOM object that contains the map:

map.getDiv();

try it"

Definition and Usage

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


grammar

mapvariable.getDiv();


return value

描述
DOMobject 包含地图的 DOM 对象。


Map () constructor Map () constructor