vue-cesium-jyt
Version:
Vue 3.x components for CesiumJS.
135 lines (134 loc) • 3.93 kB
TypeScript
import type { ExtractPropTypes } from 'vue';
import type { VcComponentInternalInstance, VcReadyObject } from 'vue-cesium/es/utils/types';
import type Feature from './Feature';
export declare const selectionIndicatorProps: {
show: {
type: BooleanConstructor;
default: boolean;
};
width: {
type: NumberConstructor;
default: number;
};
height: {
type: NumberConstructor;
default: number;
};
allowFeatureInfoRequests: {
type: BooleanConstructor;
default: boolean;
};
limit: {
type: NumberConstructor;
default: number;
};
};
declare const emits: {
pickEvt: (evt: Feature) => boolean;
beforeLoad: (instance: VcComponentInternalInstance) => boolean;
ready: (readyObj: VcReadyObject) => boolean;
destroyed: (instance: VcComponentInternalInstance) => boolean;
};
declare const _default: import("vue").DefineComponent<{
show: {
type: BooleanConstructor;
default: boolean;
};
width: {
type: NumberConstructor;
default: number;
};
height: {
type: NumberConstructor;
default: number;
};
allowFeatureInfoRequests: {
type: BooleanConstructor;
default: boolean;
};
limit: {
type: NumberConstructor;
default: number;
};
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
pickEvt: (evt: Feature) => boolean;
beforeLoad: (instance: VcComponentInternalInstance) => boolean;
ready: (readyObj: VcReadyObject) => boolean;
destroyed: (instance: VcComponentInternalInstance) => boolean;
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
show: {
type: BooleanConstructor;
default: boolean;
};
width: {
type: NumberConstructor;
default: number;
};
height: {
type: NumberConstructor;
default: number;
};
allowFeatureInfoRequests: {
type: BooleanConstructor;
default: boolean;
};
limit: {
type: NumberConstructor;
default: number;
};
}>> & {
onBeforeLoad?: (instance: VcComponentInternalInstance) => any;
onReady?: (readyObj: VcReadyObject) => any;
onDestroyed?: (instance: VcComponentInternalInstance) => any;
onPickEvt?: (evt: Feature) => any;
}, {
height: number;
show: boolean;
width: number;
allowFeatureInfoRequests: boolean;
limit: number;
}>;
export default _default;
export declare type VcSelectionIndicatorEmits = typeof emits;
export declare type VcSelectionIndicatorProps = {
/**
* Specify whether the selection indicator is visible.
* Default value: true
*/
show?: boolean;
/**
* Specify the width of the selection indicator.
* Default value: 50
*/
width?: number;
/**
* Specify the height of the selection indicator.
* Default value: 50
*/
height?: number;
/**
* Asynchronously determines the imagery layer features that are intersected by a pick ray.
* Default value: true
*/
allowFeatureInfoRequests?: boolean;
/**
* Specify the maximum number of picked objects.
* Default value: 25
*/
limit?: number;
/**
* Triggers before the VcSelectionIndicator is loaded.
* @param instance
*/
onBeforeLoad?: (instance: VcComponentInternalInstance) => void;
/**
* Triggers when the VcSelectionIndicator is successfully loaded.
*/
onReady?: (readyObject: VcReadyObject) => void;
/**
* Triggers when the VcSelectionIndicator is destroyed.
*/
onDestroyed?: (instance: VcComponentInternalInstance) => void;
};