1 | import { AgmBicyclingLayer } from '../../directives/bicycling-layer';
|
2 | import { AgmTransitLayer } from '../../directives/transit-layer';
|
3 | import { GoogleMapsAPIWrapper } from '../google-maps-api-wrapper';
|
4 |
|
5 |
|
6 |
|
7 | export declare class LayerManager {
|
8 | private _wrapper;
|
9 | private _layers;
|
10 | constructor(_wrapper: GoogleMapsAPIWrapper);
|
11 | /**
|
12 | * Adds a transit layer to a map instance.
|
13 | * @param layer - a TransitLayer object
|
14 | * @param _options - TransitLayerOptions options
|
15 | * @returns void
|
16 | */
|
17 | addTransitLayer(layer: AgmTransitLayer): void;
|
18 | /**
|
19 | * Adds a bicycling layer to a map instance.
|
20 | * @param layer - a bicycling layer object
|
21 | * @param _options - BicyclingLayer options
|
22 | * @returns void
|
23 | */
|
24 | addBicyclingLayer(layer: AgmBicyclingLayer): void;
|
25 | /**
|
26 | * Deletes a map layer
|
27 | * @param layer - the layer to delete
|
28 | */
|
29 | deleteLayer(layer: AgmTransitLayer | AgmBicyclingLayer): Promise<void>;
|
30 | }
|