angular-leaflet
Version:
Collection of angular components to build map views faster and with minimal configuration using the most popular library **LeafletJS**.
11 lines (10 loc) • 379 B
TypeScript
import { LatLngExpression, LayerGroup, Map, PathOptions, Polygon } from 'leaflet';
import { BaseLayer } from '../../core/base-layer';
export declare class PolygonComponent extends BaseLayer<Polygon> {
coordinates: LatLngExpression[];
options: PathOptions;
private _coordinates;
private _options;
createLayer(): void;
addTo(map: Map | LayerGroup): void;
}