Arno Kaimbacher
a744ae7e5b
- add draw.component.vue - only load needed leaflet classes into map.component.vue an Submitter/Create.vue - rename js/store.Map.ts to js/Stores/map.service.ts -
14 lines
362 B
TypeScript
14 lines
362 B
TypeScript
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>;
|
|
|
|
export class LayerMap extends Map<string, LayerOptions> {
|
|
} |