getMap

returns a GoogleMap map object

object getMap();

Returns

objecta GoogleMap map object

Example

var mapObj = $$("map").getMap();

Details

The method can take the waitMap parameter set to true. If passed, the method returns a promise which will be resolved when the map is rendered.

$$("map").getMap(true).then(function(mapObj){
    // some code
});
Back to top
If you have not checked yet, be sure to visit site of our main product Webix ui component library and page of google maps javascript product.