vue-cesium
Version:
Vue 3.x components for CesiumJS.
275 lines (274 loc) • 11.1 kB
TypeScript
import type { VcCallbackPropertyFunction, VcCartesian2Array, VcCartesian3Array, VcColor, VcComponentInternalInstance, VcComponentPublicInstance, VcDistanceDisplayCondition, VcMaterial, VcReadyObject } from 'vue-cesium/es/utils/types';
export declare const polylineVolumeGraphicsProps: {
distanceDisplayCondition: {
type: import("vue").PropType<VcDistanceDisplayCondition>;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeDistanceDisplayCondition;
};
};
shadows: import("vue").PropType<number | Cesium.CallbackProperty | VcCallbackPropertyFunction<number>>;
outlineWidth: {
type: import("vue").PropType<number | Cesium.CallbackProperty | VcCallbackPropertyFunction<number>>;
default: number;
};
outlineColor: {
type: import("vue").PropType<VcColor>;
default: string;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeColor;
};
};
outline: {
type: import("vue").PropType<boolean | Cesium.CallbackProperty | VcCallbackPropertyFunction<boolean>>;
default: boolean;
};
material: {
type: import("vue").PropType<VcMaterial>;
default: string;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeMaterial;
};
};
fill: {
type: import("vue").PropType<boolean | Cesium.CallbackProperty | VcCallbackPropertyFunction<boolean>>;
default: boolean;
};
granularity: import("vue").PropType<number | Cesium.CallbackProperty | VcCallbackPropertyFunction<number>>;
cornerType: {
type: import("vue").PropType<number | Cesium.CallbackProperty | VcCallbackPropertyFunction<number>>;
default: number;
};
shape: {
type: import("vue").PropType<VcCartesian2Array>;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeCartesian2Array;
};
};
positions: {
type: import("vue").PropType<VcCartesian3Array>;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeCartesian3Array;
exclude: string;
deep: boolean;
};
};
show: {
type: import("vue").PropType<boolean>;
default: boolean;
};
};
declare const _default: import("vue").DefineComponent<{
distanceDisplayCondition: {
type: import("vue").PropType<VcDistanceDisplayCondition>;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeDistanceDisplayCondition;
};
};
shadows: import("vue").PropType<number | Cesium.CallbackProperty | VcCallbackPropertyFunction<number>>;
outlineWidth: {
type: import("vue").PropType<number | Cesium.CallbackProperty | VcCallbackPropertyFunction<number>>;
default: number;
};
outlineColor: {
type: import("vue").PropType<VcColor>;
default: string;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeColor;
};
};
outline: {
type: import("vue").PropType<boolean | Cesium.CallbackProperty | VcCallbackPropertyFunction<boolean>>;
default: boolean;
};
material: {
type: import("vue").PropType<VcMaterial>;
default: string;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeMaterial;
};
};
fill: {
type: import("vue").PropType<boolean | Cesium.CallbackProperty | VcCallbackPropertyFunction<boolean>>;
default: boolean;
};
granularity: import("vue").PropType<number | Cesium.CallbackProperty | VcCallbackPropertyFunction<number>>;
cornerType: {
type: import("vue").PropType<number | Cesium.CallbackProperty | VcCallbackPropertyFunction<number>>;
default: number;
};
shape: {
type: import("vue").PropType<VcCartesian2Array>;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeCartesian2Array;
};
};
positions: {
type: import("vue").PropType<VcCartesian3Array>;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeCartesian3Array;
exclude: string;
deep: boolean;
};
};
show: {
type: import("vue").PropType<boolean>;
default: boolean;
};
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
beforeLoad: (instance: VcComponentInternalInstance) => boolean;
ready: (readyObj: VcReadyObject) => boolean;
unready: (e: any) => boolean;
destroyed: (instance: VcComponentInternalInstance) => boolean;
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
distanceDisplayCondition: {
type: import("vue").PropType<VcDistanceDisplayCondition>;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeDistanceDisplayCondition;
};
};
shadows: import("vue").PropType<number | Cesium.CallbackProperty | VcCallbackPropertyFunction<number>>;
outlineWidth: {
type: import("vue").PropType<number | Cesium.CallbackProperty | VcCallbackPropertyFunction<number>>;
default: number;
};
outlineColor: {
type: import("vue").PropType<VcColor>;
default: string;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeColor;
};
};
outline: {
type: import("vue").PropType<boolean | Cesium.CallbackProperty | VcCallbackPropertyFunction<boolean>>;
default: boolean;
};
material: {
type: import("vue").PropType<VcMaterial>;
default: string;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeMaterial;
};
};
fill: {
type: import("vue").PropType<boolean | Cesium.CallbackProperty | VcCallbackPropertyFunction<boolean>>;
default: boolean;
};
granularity: import("vue").PropType<number | Cesium.CallbackProperty | VcCallbackPropertyFunction<number>>;
cornerType: {
type: import("vue").PropType<number | Cesium.CallbackProperty | VcCallbackPropertyFunction<number>>;
default: number;
};
shape: {
type: import("vue").PropType<VcCartesian2Array>;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeCartesian2Array;
};
};
positions: {
type: import("vue").PropType<VcCartesian3Array>;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeCartesian3Array;
exclude: string;
deep: boolean;
};
};
show: {
type: import("vue").PropType<boolean>;
default: boolean;
};
}>> & {
onBeforeLoad?: (instance: VcComponentInternalInstance) => any;
onReady?: (readyObj: VcReadyObject) => any;
onUnready?: (e: any) => any;
onDestroyed?: (instance: VcComponentInternalInstance) => any;
}, {
fill: boolean | Cesium.CallbackProperty | VcCallbackPropertyFunction<boolean>;
show: boolean;
material: VcMaterial;
outline: boolean | Cesium.CallbackProperty | VcCallbackPropertyFunction<boolean>;
outlineColor: VcColor;
outlineWidth: number | Cesium.CallbackProperty | VcCallbackPropertyFunction<number>;
cornerType: number | Cesium.CallbackProperty | VcCallbackPropertyFunction<number>;
}>;
export default _default;
export type VcGraphicsPolylineVolumeProps = {
/**
* A boolean Property specifying the visibility of the volume.
* Default value: true
*/
show?: boolean | Cesium.CallbackProperty | VcCallbackPropertyFunction<boolean>;
/**
* A Property specifying the array of VcCartesian3Array positions which define the line strip.
*/
positions?: VcCartesian3Array;
/**
* A Property specifying the array of Cartesian2 positions which define the shape to be extruded.
*/
shape?: VcCartesian2Array;
/**
* A CornerType Property specifying the style of the corners.
* Default value: Cesium.CornerType.ROUNDED
*/
cornerType?: number | Cesium.CornerType | Cesium.CallbackProperty | VcCallbackPropertyFunction<number>;
/**
* A numeric Property specifying the angular distance between each latitude and longitude point.
*/
granularity?: number | Cesium.CallbackProperty | VcCallbackPropertyFunction<number>;
/**
* A boolean Property specifying whether the volume is filled with the provided material.
* Default value: true
*/
fill?: boolean | Cesium.CallbackProperty | VcCallbackPropertyFunction<boolean>;
/**
* A Property specifying the material used to fill the volume.
* Default value: white
*/
material?: VcMaterial;
/**
* A boolean Property specifying whether the volume is outlined.
* Default value: false
*/
outline?: boolean | Cesium.CallbackProperty | VcCallbackPropertyFunction<boolean>;
/**
* A Property specifying the Color of the outline.
* Default value: black
*/
outlineColor?: VcColor;
/**
* A numeric Property specifying the the outline width in pixels.
* Default value: 1.0
*/
outlineWidth?: number | Cesium.CallbackProperty | VcCallbackPropertyFunction<number>;
/**
* An enum Property specifying whether the volume casts or receives shadows from light sources.
* Default value: Cesium.ShadowMode.DISABLED
*/
shadows?: number | Cesium.ShadowMode | Cesium.CallbackProperty | VcCallbackPropertyFunction<number>;
/**
* A Property specifying at what distance from the camera that this volume will be displayed.
*/
distanceDisplayCondition?: VcDistanceDisplayCondition;
/**
* Triggers before the VcGraphicsPolylineVolume is loaded.
*/
onBeforeLoad?: (instance: VcComponentInternalInstance) => void;
/**
* Triggers when the VcGraphicsPolylineVolume is successfully loaded.
*/
onReady?: (readyObject: VcReadyObject) => void;
/**
* Triggers when the component load failed.
*/
onUnready?: (e: any) => void;
/**
* Triggers when the VcGraphicsPolylineVolume is destroyed.
*/
onDestroyed?: (instance: VcComponentInternalInstance) => void;
/**
* Triggers when a property or sub-property is changed or modified.
*/
onDefinitionChanged?: (property: Cesium.Property) => void;
};
export type VcGraphicsPolylineVolumeRef = VcComponentPublicInstance<VcGraphicsPolylineVolumeProps>;