UNPKG

@geogirafe/lib-geoportal

Version:

GeoGirafe is a flexible application to build online geoportals.

16 lines (15 loc) • 637 B
import IGirafeContext from '../../context/icontext.js'; import { IBrainSerializer } from '../../state/brain/serialize.js'; import GlobeState from '../../state/globe.js'; export default class GlobeSerializer implements IBrainSerializer<GlobeState> { private readonly context; constructor(context: IGirafeContext); private get globe(); brainSerialize(globe: GlobeState): string; brainDeserialize(str: string): void; /** * Applies the layout a display mode of the previous versions corresponds to. * TODO REG: Remove the legacy code when not used any more * */ private deserializeLegacyDisplay; }