title: How to ensure that the map is loaded
body: <p>getGMap() returns an instance of the Map object. If the map is not ready, this function returns undefined. Is there an event or a way which tells that the Map is ready and that calling the getGMap will surely return the Google Map?</p>
  
  <p>Thanks</p>
  
  <p>Yash</p>