basemaps
basemaps: {
defaultBasemap: string;
emptyBasemap: boolean;
OSM: boolean;
show: boolean;
SwissTopoVectorTiles: boolean;
}
csv
csv: {
encoding: string;
extension: string;
includeHeader: boolean;
quote: string;
separator: string;
}
drawing
drawing: {
defaultFillColor: string;
defaultFont: string;
defaultStrokeColor: string;
defaultStrokeWidth: number;
defaultTextSize: number;
defaultVertexFillColor: string;
defaultVertexRadius: number;
defaultVertexStrokeWidth: number;
}
general
general: { locale: string; logLevel: "debug" | "info" | "warn" | "error" }
Optional
gmfauth
gmfauth?: { checkSessionOnLoad: boolean; loginRequired: boolean; url: string }
interface
interface: {
darkFrontendMode: undefined | boolean;
darkMapMode: boolean;
defaultSelectionComponent: string;
}
languages
languages: {
defaultLanguage: string;
translations: { [key: string]: string[] };
}
lidar
lidar: { url: string }
map
map: {
constrainRotation: boolean;
constrainScales: boolean;
maxExtent?: string;
scales: number[];
showScaleLine: boolean;
srid: string;
startPosition: string;
startZoom: string;
}
Optional
map3d
map3d?: {
terrainImagery: {
coverageArea: undefined | number[];
maxLoD: undefined | number;
minLoD: undefined | number;
srid: 3857 | 4326;
url: string;
};
terrainUrl: string;
tilesetsMaxError: undefined
| number;
tilesetsUrls: string[];
}
metadata
metadata: {
defaultWindowHeight: string;
defaultWindowWidth: string;
metadataUrlPrefix: string;
}
Optional
oauth
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;
};
}
Optional
offline
offline?: { downloadEndZoom: number; downloadStartZoom: number }
print
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
projections: { [key: string]: string }
query
query: { legacy: boolean }
search
search: {
defaultFillColor?: string;
defaultStrokeColor?: string;
defaultStrokeWidth?: number;
layerPreview?: boolean;
minResolution?: number;
objectPreview?: boolean;
paintSearchResults?: boolean;
url: string;
}
selection
selection: {
defaultFillColor: string;
defaultStrokeColor: string;
defaultStrokeWidth: number;
highlightFillColor: string;
highlightStrokeColor: string;
maxFeature: number;
}
share
share: { createUrl: string; service: null | "lstu" | "gmf" }
themes
themes: {
defaultTheme: string;
imagesUrlPrefix: string;
selectionMode: "replace" | "add";
showErrorsOnStart: boolean;
url: string;
}
treeview
treeview: {
defaultIconSize: { height: number; width: number };
hideLegendWhenLayerIsDeactivated: boolean;
}
Static
Readonly
DEFAULT_LOCALE
DEFAULT_LOCALE: "en-US" = 'en-US'