1 | import { EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, SimpleChange } from '@angular/core';
|
2 | import { Layer, LeafletEvent } from 'leaflet';
|
3 | import { LeafletDirective } from '../core/leaflet.directive';
|
4 | import * as i0 from "@angular/core";
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 | export declare class LeafletLayerDirective implements OnChanges, OnDestroy, OnInit {
|
13 | private zone;
|
14 | layer: Layer;
|
15 | onAdd: EventEmitter<LeafletEvent>;
|
16 | onRemove: EventEmitter<LeafletEvent>;
|
17 | private onAddLayerHandler;
|
18 | private onRemoveLayerHandler;
|
19 | private leafletDirective;
|
20 | constructor(leafletDirective: LeafletDirective, zone: NgZone);
|
21 | ngOnInit(): void;
|
22 | ngOnDestroy(): void;
|
23 | ngOnChanges(changes: {
|
24 | [key: string]: SimpleChange;
|
25 | }): void;
|
26 | private addLayerEventListeners;
|
27 | private removeLayerEventListeners;
|
28 | static ɵfac: i0.ɵɵFactoryDeclaration<LeafletLayerDirective, never>;
|
29 | static ɵdir: i0.ɵɵDirectiveDeclaration<LeafletLayerDirective, "[leafletLayer]", never, { "layer": { "alias": "leafletLayer"; "required": false; }; }, { "onAdd": "leafletLayerAdd"; "onRemove": "leafletLayerRemove"; }, never, never, false, never>;
|
30 | }
|