returns a GeoChart map object
| any | a GeoChart map object or a promise | 
var mapObj = $$("map").getMap();
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