UNPKG

vue-cesium

Version:
249 lines (248 loc) 10.6 kB
import type { VcCallbackPropertyFunction, VcCartesian3Array, VcColor, VcComponentInternalInstance, VcComponentPublicInstance, VcDistanceDisplayCondition, VcMaterial, VcReadyObject } from 'vue-cesium/es/utils/types'; export declare const wallGraphicsProps: { 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>>; maximumHeights: import("vue").PropType<number[] | Cesium.CallbackProperty | VcCallbackPropertyFunction<number[]>>; minimumHeights: import("vue").PropType<number[] | Cesium.CallbackProperty | VcCallbackPropertyFunction<number[]>>; 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>>; maximumHeights: import("vue").PropType<number[] | Cesium.CallbackProperty | VcCallbackPropertyFunction<number[]>>; minimumHeights: import("vue").PropType<number[] | Cesium.CallbackProperty | VcCallbackPropertyFunction<number[]>>; 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>>; maximumHeights: import("vue").PropType<number[] | Cesium.CallbackProperty | VcCallbackPropertyFunction<number[]>>; minimumHeights: import("vue").PropType<number[] | Cesium.CallbackProperty | VcCallbackPropertyFunction<number[]>>; 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>; }>; export default _default; export type VcGraphicsWallProps = { /** * A boolean Property specifying the visibility of the wall. * Default value: true */ show?: boolean | Cesium.CallbackProperty | VcCallbackPropertyFunction<boolean>; /** * The Property specifying the VcRectangle. */ positions?: VcCartesian3Array; /** * A Property specifying an array of heights to be used for the bottom of the wall instead of the globe surface. */ minimumHeights?: number[] | Cesium.CallbackProperty | VcCallbackPropertyFunction<number[]>; /** * A Property specifying an array of heights to be used for the top of the wall instead of the height of each position. */ maximumHeights?: number[] | 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 wall is filled with the provided material. * Default value: true */ fill?: boolean | Cesium.CallbackProperty | VcCallbackPropertyFunction<boolean>; /** * A Property specifying the material used to fill the wall. * Default value: white */ material?: VcMaterial; /** * A boolean Property specifying whether the wall is outlined. * Default value: false */ outline?: boolean | Cesium.CallbackProperty | VcCallbackPropertyFunction<boolean>; /** * A Property specifying the VcColor 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 wall 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 rectangle will be displayed. */ distanceDisplayCondition?: VcDistanceDisplayCondition; /** * Triggers before the VcGraphicsWall is loaded. */ onBeforeLoad?: (instance: VcComponentInternalInstance) => void; /** * Triggers when the VcGraphicsWall is successfully loaded. */ onReady?: (readyObject: VcReadyObject) => void; /** * Triggers when the component load failed. */ onUnready?: (e: any) => void; /** * Triggers when the VcGraphicsWall is destroyed. */ onDestroyed?: (instance: VcComponentInternalInstance) => void; /** * Triggers when a property or sub-property is changed or modified. */ onDefinitionChanged?: (property: Cesium.Property) => void; }; export type VcGraphicsWallRef = VcComponentPublicInstance<VcGraphicsWallProps>;