forked from DefinitelyTyped/DefinitelyTyped
-
Notifications
You must be signed in to change notification settings - Fork 0
/
google-maps.d.ts
26 lines (23 loc) · 951 Bytes
/
google-maps.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Type definitions for google-maps 3.1.0
// Project: https://www.npmjs.com/package/google-maps
// Definitions by: Deividas Bakanas <https://github.com/DeividasBakanas>, Giedrius Grabauskas <https://github.com/GiedriusGrabauskas>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="../googlemaps/google.maps.d.ts" />
declare namespace GoogleMapsLoader {
interface CallBack {
(google: { maps: { Map: google.maps.Map } }): void;
}
export var KEY: string;
export var CLIENT: string;
export var VERSION: string;
export var SENSOR: boolean;
export var LIBRARIES: Array<string>;
export var LANGUAGE: string;
export function release(callBack: Function): void;
export function onLoad(callBack?: CallBack): void;
export function load(callBack?: CallBack): void;
export function isLoaded(): boolean;
}
declare module 'google-maps' {
export = GoogleMapsLoader;
}