vue-cesium-jyt
Version:
Vue 3.x components for CesiumJS.
72 lines (71 loc) • 2.53 kB
TypeScript
import { VcDrawingOpts, VcViewshedAnalysisOpts } from 'vue-cesium/es/utils/drawing-types';
import type { VcActionTooltipProps } from 'vue-cesium/es/utils/types';
import type { ExtractPropTypes, PropType } from 'vue';
import type { VcFabProps } from '../../ui';
declare const sightlineAnalysisActionDefault: VcActionTooltipProps;
declare const sightlineAnalysisDefault: VcDrawingOpts;
declare const viewshedAnalysisActionDefault: VcActionTooltipProps;
declare const viewshedAnalysisDefault: VcViewshedAnalysisOpts;
declare const mainFabDefault: VcActionTooltipProps & VcFabProps;
export declare const analysisType: string[];
declare const analysesProps: {
analyses: {
type: PropType<("sightline" | "viewshed")[]>;
default: () => string[];
validator: (drawings: string[]) => boolean;
};
mainFabOpts: {
type: PropType<VcActionTooltipProps & VcFabProps>;
default: () => VcActionTooltipProps & VcFabProps;
};
sightlineActionOpts: {
type: PropType<VcActionTooltipProps>;
default: () => VcActionTooltipProps;
};
sightlineAnalysisOpts: {
type: PropType<VcDrawingOpts>;
default: () => VcDrawingOpts;
};
viewshedActionOpts: {
type: PropType<VcActionTooltipProps>;
default: () => VcActionTooltipProps;
};
viewshedAnalysisOpts: {
type: PropType<VcViewshedAnalysisOpts>;
default: () => VcViewshedAnalysisOpts;
};
position: {
type: PropType<"right" | "top" | "bottom" | "left" | "top-right" | "top-left" | "bottom-right" | "bottom-left">;
default: string;
validator: (v: string) => boolean;
};
offset: {
type: ArrayConstructor;
validator: (v: any) => boolean;
};
mode: {
type: PropType<0 | 1>;
default: number;
};
activeColor: {
type: StringConstructor;
default: string;
};
editable: {
type: BooleanConstructor;
};
clampToGround: {
type: BooleanConstructor;
};
clearActionOpts: {
type: PropType<VcActionTooltipProps>;
default: () => VcActionTooltipProps;
};
show: {
type: PropType<boolean>;
default: boolean;
};
};
export declare type VcAnalysesProps = ExtractPropTypes<typeof analysesProps>;
declare const defaultOptions: VcAnalysesProps;
export { analysesProps, defaultOptions, sightlineAnalysisActionDefault, sightlineAnalysisDefault, viewshedAnalysisActionDefault, viewshedAnalysisDefault, mainFabDefault };