1 |
|
2 |
|
3 |
|
4 |
|
5 | declare namespace GoogleMapsLoader {
|
6 | type google = { maps: typeof google.maps };
|
7 | interface CallBack {
|
8 | (google: google): void;
|
9 | }
|
10 |
|
11 | export var KEY: string;
|
12 | export var URL: string;
|
13 | export var LIBRARIES: string[];
|
14 | export var CLIENT: string;
|
15 | export var CHANNEL: string;
|
16 | export var LANGUAGE: string;
|
17 | export var REGION: string;
|
18 | export var VERSION: string;
|
19 | export var WINDOW_CALLBACK_NAME: string;
|
20 |
|
21 | export function release(callBack: Function): void;
|
22 | export function onLoad(callBack?: CallBack): void;
|
23 | export function load(callBack?: CallBack): void;
|
24 | export function isLoaded(): boolean;
|
25 | export function createLoader(): void;
|
26 | export function createUrl(): string;
|
27 | export function makeMock(): void;
|
28 | }
|
29 |
|
30 | export = GoogleMapsLoader;
|
31 | export as namespace GoogleMapsLoader;
|