@geogirafe/lib-geoportal
Version:
GeoGirafe is a flexible application to build online geoportals.
23 lines (22 loc) • 765 B
TypeScript
import { Feature } from 'ol';
import SelectionParam from '../../models/selectionparam.js';
import WfsFilter from '../wfs/wfsfilter.js';
import { SelectionMode } from '../../models/selection.js';
import { Geometry } from 'ol/geom.js';
export default class ObjectSelection {
initialSelectionBox?: number[];
initialSelectionQuery?: InitialSelectionQuery;
selectionParameters: SelectionParam[];
selectedFeatures: Feature[];
selectedFeaturesType?: string;
focusedFeatures: Feature[] | null;
highlightedFeatures: Feature[];
gridSelected: boolean;
selectionMode: SelectionMode;
selectionGeometry?: Geometry;
getDirectionsFeature?: Feature;
}
export type InitialSelectionQuery = {
query: WfsFilter;
layerName: string;
};