Waiting for Google Maps API to load

Hey peeps! Any thoughts on how to run a function after Softr has finished loading the Google Maps API? Is there an event I could listen to?