- add leaflet.css inside main-styles.css - add map.componetn for leaflet map - bind properties to map via map-view.component
14 lines
No EOL
341 B
TypeScript
14 lines
No EOL
341 B
TypeScript
import { Layer } from "leaflet";
|
|
|
|
// 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>;
|
|
|
|
export class LayerMap extends Map<string, LayerOptions> {
|
|
} |