UNPKG

@vertigis/viewer-spec

Version:

VertiGIS Viewer Specification

39 lines (38 loc) 1.06 kB
import type { Event } from "../Event.js"; import { EventRegistry } from "../EventRegistry.js"; export declare class SettingsEvents extends EventRegistry { protected readonly _prefix = "settings"; /** * Raised when application settings have been updated. Mobile only. * * @mobileOnly */ get updated(): Event; } /** * The current settings. */ export interface SettingsInfo { /** * Indicates if layer visibilities are remembered and restored upon app * startup. */ rememberLayerVisibilities: boolean; /** * Indicates if the map extent is remembered and restored upon app startup. */ rememberMapExtent: boolean; /** * The size that photos will be resized to when adding as a feature * attachment. */ photoResize: PhotoResizeOption; /** * The user selected theme id. */ activeTheme: string; } /** * The approximate size / resolution that photos should be resized to. */ export type PhotoResizeOption = "Original" | "Large" | "Medium" | "Small";