1 |
|
2 | import { NgZone } from '@angular/core';
|
3 | import { Observable } from 'rxjs';
|
4 | import { AgmKmlLayer } from './../../directives/kml-layer';
|
5 | import { GoogleMapsAPIWrapper } from './../google-maps-api-wrapper';
|
6 |
|
7 |
|
8 |
|
9 | export declare class KmlLayerManager {
|
10 | private _wrapper;
|
11 | private _zone;
|
12 | private _layers;
|
13 | constructor(_wrapper: GoogleMapsAPIWrapper, _zone: NgZone);
|
14 | /**
|
15 | * Adds a new KML Layer to the map.
|
16 | */
|
17 | addKmlLayer(layer: AgmKmlLayer): void;
|
18 | setOptions(layer: AgmKmlLayer, options: google.maps.KmlLayerOptions): void;
|
19 | deleteKmlLayer(layer: AgmKmlLayer): void;
|
20 | /**
|
21 | * Creates a Google Maps event listener for the given KmlLayer as an Observable
|
22 | */
|
23 | createEventObservable<T>(eventName: string, layer: AgmKmlLayer): Observable<T>;
|
24 | }
|