@geogirafe/lib-geoportal
Version:
GeoGirafe is a flexible application to build online geoportals.
13 lines (12 loc) • 469 B
TypeScript
import ITimeOptions from '../../tools/time/itimeoptions.js';
/**
* Layer that has a temporal dimension and can be filtered by specifying a TIME URL parameter.
* Filter arguments are date strings (simple value or time range) and saved in property timeRestriction.
*/
interface ILayerWithTime {
timeOptions?: ITimeOptions;
timeRestriction?: string;
get hasTimeRestriction(): boolean;
setDefaultTimeRestriction(): void;
}
export default ILayerWithTime;