UNPKG

785 BTypeScriptView Raw
1import { EventEmitter, KeyValueChanges, NgZone } from '@angular/core';
2import { Control, Layer } from 'leaflet';
3import { LeafletControlLayersChanges } from './leaflet-control-layers-changes.model';
4export declare class LeafletControlLayersWrapper {
5 private zone;
6 protected layersControl: Control.Layers;
7 protected layersControlReady: EventEmitter<Control.Layers>;
8 constructor(zone: NgZone, layersControlReady: EventEmitter<Control.Layers>);
9 getLayersControl(): Control.Layers;
10 init(controlConfig: any, controlOptions: any): Control.Layers;
11 applyBaseLayerChanges(changes: KeyValueChanges<string, Layer>): LeafletControlLayersChanges;
12 applyOverlayChanges(changes: KeyValueChanges<string, Layer>): LeafletControlLayersChanges;
13 private applyChanges;
14}