# @types/load-google-maps-api

> TypeScript definitions for load-google-maps-api

Latest version **2.0.5** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/load-google-maps-api
pnpm add @types/load-google-maps-api
yarn add @types/load-google-maps-api
bun add @types/load-google-maps-api
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.0.5 |
| Published | 2023-11-07 |
| First published | 2019-01-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51420 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/load-google-maps-api
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/load-google-maps-api
- npm.io page: https://npm.io/package/@types/load-google-maps-api

## Dependencies (1)

- [@types/google.maps](https://npm.io/package/@types/google.maps.md) *

## Recent versions

- 2.0.5 (latest) — 2023-11-07
- 2.0.3 (ts3.6) — 2021-07-08
- 2.0.2 (ts3.5) — 2021-05-18
- 2.0.1 (ts3.0) — 2019-12-23
- 2.0.0 (ts2.7) — 2019-07-01
- 1.3.0 (ts2.0) — 2019-01-16
- 2.0.4 — 2023-10-18

## README

# Installation
> `npm install --save @types/load-google-maps-api`

# Summary
This package contains type definitions for load-google-maps-api (https://github.com/yuanqing/load-google-maps-api#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/load-google-maps-api.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/load-google-maps-api/index.d.ts)
````ts
/// <reference types="google.maps" />

interface Options {
    /**
     * The Google Maps API `script` tag URL
     *
     * Default Value `'https://maps.googleapis.com/maps/api/js'`
     */
    apiUrl?: string | undefined;
    /**
     * Client usage reporting channel
     *
     * https://developers.google.com/maps/premium/reports/usage-reports#channels
     */
    channel?: string | undefined;
    /**
     * Client ID
     *
     * https://developers.google.com/maps/documentation/javascript/get-api-key#specifying-a-client-id-when-loading-the-api
     */
    client?: string | undefined;
    /**
     * Your API key
     *
     * https://developers.google.com/maps/documentation/javascript/get-api-key#step-2-add-the-api-key-to-your-application
     */
    key?: string | undefined;
    /**
     * https://developers.google.com/maps/documentation/javascript/localization#Language
     */
    language?: string | undefined;
    /**
     * Supplemental libraries to load
     *
     * Default Value `[]`
     *
     * https://developers.google.com/maps/documentation/javascript/libraries
     */
    libraries?: string[] | undefined;
    /**
     * https://developers.google.com/maps/documentation/javascript/localization#Region
     */
    region?: string | undefined;
    /**
     * Time in milliseconds before rejecting the Promise
     *
     * Default Value `10000`
     */
    timeout?: number | undefined;
    /**
     * API Version
     *
     * https://developers.google.com/maps/documentation/javascript/versions
     */
    v?: string | undefined;
}

declare function loadGoogleMapsApi(options?: Options): Promise<typeof google.maps>;

export = loadGoogleMapsApi;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:38 GMT
 * Dependencies: [@types/google.maps](https://npmjs.com/package/@types/google.maps)

# Credits
These definitions were written by [Oscar Busk](https://github.com/oBusk).

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