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) • 365 B
TypeScript
import { LatLngBounds, LayerGroup, Map, PathOptions, Rectangle } from 'leaflet';
import { BaseLayer } from '../../core/base-layer';
export declare class RectangleComponent extends BaseLayer<Rectangle> {
bounds: LatLngBounds;
options: PathOptions;
private _bounds;
private _options;
createLayer(): void;
addTo(map: Map | LayerGroup): void;
}