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