Skip to content

mapsLoader ​

loadGoogleMaps (async) ​

Loads the Google Maps API asynchronously and returns the Google Maps instance. If the API has already been loaded, it returns the existing instance.

Returns:

  • A promise resolving to the Google Maps instance.

Released under the MIT License.