Google Maps JavaScript API Loader (Promise-based)

JSON →
library 2.0.2 ·javascript
verified May 27, 2026

The `load-google-maps-api` package (current stable version 2.0.2) provides a lightweight, promise-returning utility for dynamically loading the Google Maps JavaScript API. It modernizes the traditional API loading process by abstracting away the requirement for a global callback function, which can be cumbersome and less compatible with contemporary JavaScript bundlers like Webpack or Browserify. Instead, this module returns a Promise that resolves with the `google.maps` object upon successful API load, or rejects if a configurable timeout is exceeded. Developers can pass an options object to configure various aspects of the API, including the API key, desired language, region, specific API version, and supplemental libraries, offering a cleaner and more modular approach to integrating Google Maps into client-side web applications. Its release cadence is generally stable, with updates typically addressing Google Maps API changes or minor enhancements.

total hits 15
actors 8 distinct systems
last hit 6d ago MetaBot
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
2

top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇩🇪 Germany