Constructors

Properties

basemaps: {
    defaultBasemap: string;
    emptyBasemap: boolean;
    OSM: boolean;
    show: boolean;
    SwissTopoVectorTiles: boolean;
}
csv: {
    encoding: string;
    extension: string;
    includeHeader: boolean;
    quote: string;
    separator: string;
}
drawing: {
    defaultFillColor: string;
    defaultFont: string;
    defaultStrokeColor: string;
    defaultStrokeWidth: number;
    defaultTextSize: number;
    defaultVertexFillColor: string;
    defaultVertexRadius: number;
    defaultVertexStrokeWidth: number;
}
general: { locale: string; logLevel: "debug" | "info" | "warn" | "error" }
gmfauth?: { checkSessionOnLoad: boolean; loginRequired: boolean; url: string }
interface: {
    darkFrontendMode: undefined | boolean;
    darkMapMode: boolean;
    defaultSelectionComponent: string;
}
languages: {
    defaultLanguage: string;
    translations: { [key: string]: string[] };
}
lidar: { url: string }
map: {
    constrainRotation: boolean;
    constrainScales: boolean;
    maxExtent?: string;
    scales: number[];
    showScaleLine: boolean;
    srid: string;
    startPosition: string;
    startZoom: string;
}
map3d?: {
    terrainImagery: {
        coverageArea: undefined | number[];
        maxLoD: undefined | number;
        minLoD: undefined | number;
        srid: 3857 | 4326;
        url: string;
    };
    terrainUrl: string;
    tilesetsMaxError: undefined
    | number;
    tilesetsUrls: string[];
}
metadata: {
    defaultWindowHeight: string;
    defaultWindowWidth: string;
    metadataUrlPrefix: string;
}
oauth?: {
    geomapfish: {
        anonymousUsername: string;
        loginUrl: string;
        logoutUrl: string;
        userInfoUrl: string;
    };
    issuer: {
        algorithm: "oauth2"
        | "oidc";
        checkSessionOnLoad: boolean;
        clientId: string;
        codeChallengeMethod: string;
        loginRequired: boolean;
        scope: string;
        url: string;
    };
}
offline?: { downloadEndZoom: number; downloadStartZoom: number }
print: {
    attributeNames?: string[];
    defaultFormat?: string;
    defaultLayout?: string;
    defaultScale?: number;
    formats?: string[];
    layouts?: string[];
    printLegend?: {
        label?: Record<string, undefined | boolean>;
        params?: Record<string, Record<string, unknown>>;
        showGroupsTitle?: boolean;
        useBbox?: boolean;
    };
    scales?: number[];
    url: string;
}
projections: { [key: string]: string }
query: { legacy: boolean }
search: {
    defaultFillColor?: string;
    defaultStrokeColor?: string;
    defaultStrokeWidth?: number;
    layerPreview?: boolean;
    minResolution?: number;
    objectPreview?: boolean;
    paintSearchResults?: boolean;
    url: string;
}
selection: {
    defaultFillColor: string;
    defaultStrokeColor: string;
    defaultStrokeWidth: number;
    highlightFillColor: string;
    highlightStrokeColor: string;
    maxFeature: number;
}
share: { createUrl: string; service: null | "lstu" | "gmf" }
themes: {
    defaultTheme: string;
    imagesUrlPrefix: string;
    selectionMode: "replace" | "add";
    showErrorsOnStart: boolean;
    url: string;
}
treeview: {
    defaultIconSize: { height: number; width: number };
    hideLegendWhenLayerIsDeactivated: boolean;
}
DEFAULT_LOCALE: "en-US" = 'en-US'