1 |
|
2 | import { NgZone } from '@angular/core';
|
3 | import { Observable } from 'rxjs';
|
4 | import { AgmInfoWindow } from '../../directives/info-window';
|
5 | import { GoogleMapsAPIWrapper } from '../google-maps-api-wrapper';
|
6 | import { MarkerManager } from './marker-manager';
|
7 | export declare class InfoWindowManager {
|
8 | private _mapsWrapper;
|
9 | private _zone;
|
10 | private _markerManager;
|
11 | private _infoWindows;
|
12 | constructor(_mapsWrapper: GoogleMapsAPIWrapper, _zone: NgZone, _markerManager: MarkerManager);
|
13 | deleteInfoWindow(infoWindow: AgmInfoWindow): Promise<void>;
|
14 | setPosition(infoWindow: AgmInfoWindow): Promise<void>;
|
15 | setZIndex(infoWindow: AgmInfoWindow): Promise<void>;
|
16 | open(infoWindow: AgmInfoWindow): Promise<void>;
|
17 | close(infoWindow: AgmInfoWindow): Promise<void>;
|
18 | setOptions(infoWindow: AgmInfoWindow, options: google.maps.InfoWindowOptions): Promise<void>;
|
19 | addInfoWindow(infoWindow: AgmInfoWindow): void;
|
20 | /**
|
21 | * Creates a Google Maps event listener for the given InfoWindow as an Observable
|
22 | */
|
23 | createEventObservable<T>(eventName: string, infoWindow: AgmInfoWindow): Observable<T>;
|
24 | }
|