@geogirafe/lib-geoportal
Version:
GeoGirafe is a flexible application to build online geoportals.
73 lines (72 loc) • 1.93 kB
TypeScript
import type { PrintFileFormat, VectorFeatureFileFormat, ColorVariable, ColorPalette, Dataset } from './crosssectiontypes.js';
import type { Marker, Measurement } from './scatterplot.js';
export declare class CrossSectionState {
loading: boolean;
datasets: Dataset[];
drawProfile: boolean;
enableAnnotation: boolean;
drawMarker: boolean;
enableMeasurement: boolean;
gridVisible: boolean;
drawMeasurement: boolean;
backgroundColor: string;
colorVariable: ColorVariable;
colorUniform: string;
colorPalette: ColorPalette;
cursorDomainCoordinates: [number, number];
domain: {
xmin: number;
xmax: number;
ymin: number;
ymax: number;
};
pointSizeSettings: {
default: number;
min: number;
max: number;
step: number;
value: number;
};
verticalExaggerationSettings: {
default: number;
min: number;
max: number;
step: number;
value: number;
};
syncViews: boolean;
margins: {
left: number;
right: number;
top: number;
bottom: number;
};
sectionWidthSettings: {
default: number;
min: number;
max: number;
step: number;
value: number;
};
minLOD: number;
maxLOD: number;
markers: Marker[];
measurements: Measurement[];
linestringCoordinates: [number, number][];
linestringShift: number;
numberOfPoints: number;
maxNumberOfPoints: number;
zoom: {
k: number;
tx: number;
ty: number;
};
zoomUpdate: boolean;
printProfile: boolean;
printFileFormat: PrintFileFormat;
enableLinestringDownload: boolean;
downloadLinestringFormat: VectorFeatureFileFormat;
enableAnnotationsDownload: boolean;
downloadAnnotationsFormat: VectorFeatureFileFormat;
qualitativeColors: string[];
}