2023-04-06 16:56:41 +00:00
|
|
|
import type { Layer } from 'leaflet/src/layer/Layer';
|
|
|
|
|
|
|
|
// https://github.com/52North/helgoland-toolbox/blob/develop/libs/map/src/lib/base/map-options.ts
|
|
|
|
|
|
|
|
export interface LayerOptions {
|
|
|
|
label: string;
|
|
|
|
visible: boolean;
|
|
|
|
layer: Layer;
|
|
|
|
}
|
|
|
|
|
|
|
|
// export type LayerMap = Map<string, LayerOptions>;
|
|
|
|
|
2023-06-27 16:23:18 +00:00
|
|
|
export class LayerMap extends Map<string, LayerOptions> {}
|