UNPKG

@geogirafe/lib-geoportal

Version:

GeoGirafe is a flexible application to build online geoportals.

12 lines (11 loc) 396 B
import type { IBrainSerializable } from '../state/brain/decorators.js'; import DrawingFeature, { DrawingShape } from './drawingFeature.js'; export default class DrawingState implements IBrainSerializable { isBrainSerializable: boolean; activeTool: DrawingShape | null; tools: { shape: DrawingShape | null; enabled?: boolean; }[]; features: DrawingFeature[]; }