UNPKG

angular-leaflet

Version:

Collection of angular components to build map views faster and with minimal configuration using the most popular library **LeafletJS**.

21 lines (20 loc) 666 B
import { AfterContentInit, ElementRef, OnInit, QueryList } from '@angular/core'; import { Map, MapOptions } from 'leaflet'; import { BaseLayer } from './base-layer'; import { MapHandler } from './map-handler'; export declare class LeafletComponent implements OnInit, AfterContentInit { private elementRef; options: MapOptions; layers: QueryList<BaseLayer<any>>; handlers: QueryList<MapHandler>; map: Map; layerIds: string[]; handlerIds: string[]; constructor(elementRef: ElementRef); ngOnInit(): void; ngAfterContentInit(): void; private addLayers; private addLayer; private addHandlers; private addHandler; }