UNPKG

1.3 kBTypeScriptView Raw
1import { EventEmitter, ElementRef, QueryList } from "@angular/core";
2import { AgmInfoWindow, MarkerManager, GoogleMapsAPIWrapper } from "@agm/core";
3export interface latLng {
4 latitude: number;
5 longitude: number;
6}
7export interface bounds {
8 x: latLng;
9 y: latLng;
10}
11export interface latLngPlus {
12 latitude: number;
13 longitude: number;
14 bounds?: bounds;
15}
16export declare class AgmOverlay {
17 protected _mapsWrapper: GoogleMapsAPIWrapper;
18 private _markerManager;
19 latitude: number;
20 longitude: number;
21 visible: boolean;
22 zIndex: number;
23 bounds: bounds;
24 markerClick: EventEmitter<void>;
25 openInfoWindow: boolean;
26 infoWindow: QueryList<AgmInfoWindow>;
27 draggable: boolean;
28 template: ElementRef;
29 destroyed: boolean;
30 overlayView: any;
31 private _observableSubscriptions;
32 constructor(_mapsWrapper: GoogleMapsAPIWrapper, _markerManager: MarkerManager);
33 ngAfterViewInit(): void;
34 ngAfterContentInit(): void;
35 ngOnChanges(changes: any): void;
36 onChanges(changes: any): void;
37 onChangesOverride(changes: any): void;
38 ngOnDestroy(): void;
39 destroy(): Promise<any>;
40 private handleInfoWindowUpdate;
41 load(): Promise<void>;
42 getOverlay(map: any): any;
43 handleTap(): void;
44 _addEventListeners(): void;
45}