# load-gmaps

> Load the Google Maps script asynchronously.

Latest version **0.1.1** (published 2015-02-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install load-gmaps
pnpm add load-gmaps
yarn add load-gmaps
bun add load-gmaps
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2015-02-06 |
| First published | 2015-02-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Sorin Iclanzan |
| Maintainers | iclanzan |

## Links

- npm: https://www.npmjs.com/package/load-gmaps
- Repository: https://github.com/RealGeeks/load-gmaps
- Issues: https://github.com/RealGeeks/load-gmaps/issues
- npm.io page: https://npm.io/package/load-gmaps

## Dependencies (2)

- [scriptload](https://npm.io/package/scriptload.md) ^0.1.0
- [query-string](https://npm.io/package/query-string.md) ^1.0.0

## Recent versions

- 0.1.1 (latest) — 2015-02-06
- 0.1.0 — 2015-02-04

## README

# Load Gmaps

Asynchronously load Google Maps script.

## Usage

Make sure to include a [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) polyfill for browsers that don’t support it natively. [es6-promise](https://github.com/jakearchibald/es6-promise) seems to do a nice job.

```js
var loadGmaps = require('load-gmaps');

// Set version to load (Optional).
loadGmaps.version = '3.19';

loadGmaps().then(function (mapsApi) {
  // Create a map.
  var map = new mapsApi.Map(/* options */);
});
```

---
_Source: https://npm.io/package/load-gmaps · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
