vue-cesium
Version:
Vue 3.x components for CesiumJS.
133 lines (132 loc) • 6.51 kB
TypeScript
import { VcComponentInternalInstance, VcComponentPublicInstance, VcReadyObject, VcRectangle } from 'vue-cesium/es/utils/types';
export declare const rectangleGeometryProps: {
extrudedHeight: import("vue").PropType<number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>>;
stRotation: {
type: import("vue").PropType<number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>>;
default: number;
};
rotation: {
type: import("vue").PropType<number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>>;
default: number;
};
height: import("vue").PropType<number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>>;
granularity: import("vue").PropType<number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>>;
ellipsoid: import("vue").PropType<Cesium.Ellipsoid>;
vertexFormat: import("vue").PropType<Cesium.VertexFormat>;
rectangle: {
type: import("vue").PropType<VcRectangle>;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeRectangle;
};
};
};
declare const _default: import("vue").DefineComponent<{
extrudedHeight: import("vue").PropType<number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>>;
stRotation: {
type: import("vue").PropType<number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>>;
default: number;
};
rotation: {
type: import("vue").PropType<number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>>;
default: number;
};
height: import("vue").PropType<number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>>;
granularity: import("vue").PropType<number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>>;
ellipsoid: import("vue").PropType<Cesium.Ellipsoid>;
vertexFormat: import("vue").PropType<Cesium.VertexFormat>;
rectangle: {
type: import("vue").PropType<VcRectangle>;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeRectangle;
};
};
}, () => 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<{
extrudedHeight: import("vue").PropType<number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>>;
stRotation: {
type: import("vue").PropType<number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>>;
default: number;
};
rotation: {
type: import("vue").PropType<number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>>;
default: number;
};
height: import("vue").PropType<number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>>;
granularity: import("vue").PropType<number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>>;
ellipsoid: import("vue").PropType<Cesium.Ellipsoid>;
vertexFormat: import("vue").PropType<Cesium.VertexFormat>;
rectangle: {
type: import("vue").PropType<VcRectangle>;
watcherOptions: {
cesiumObjectBuilder: typeof import("../../../utils/cesium-helpers").makeRectangle;
};
};
}>> & {
onBeforeLoad?: (instance: VcComponentInternalInstance) => any;
onReady?: (readyObj: VcReadyObject) => any;
onUnready?: (e: any) => any;
onDestroyed?: (instance: VcComponentInternalInstance) => any;
}, {
rotation: number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>;
stRotation: number | Cesium.CallbackProperty | import("vue-cesium/es/utils/types").VcCallbackPropertyFunction<number>;
}>;
export default _default;
export type VcGeometryRectangleProps = {
/**
* A cartographic rectangle with north, south, east and west properties in radians.
*/
rectangle: VcRectangle;
/**
* The vertex attributes to be computed.
*/
vertexFormat?: Cesium.VertexFormat;
/**
* The ellipsoid on which the rectangle lies.
*/
ellipsoid?: Cesium.Ellipsoid;
/**
* The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.
*/
granularity?: number;
/**
* The distance in meters between the rectangle and the ellipsoid surface.
*/
height?: number;
/**
* The rotation of the rectangle, in radians. A positive rotation is counter-clockwise.
* Default value: 0.0
*/
rotation?: number;
/**
* The rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise.
* Default value: 0.0
*/
stRotation?: number;
/**
* The distance in meters between the rectangle's extruded face and the ellipsoid surface.
*/
extrudedHeight?: number;
/**
* Triggers before the VcGeometryRectangle is loaded
*/
onBeforeLoad?: (instance: VcComponentInternalInstance) => void;
/**
* Triggers when the VcGeometryRectangle is successfully loaded
*/
onReady?: (readyObject: VcReadyObject) => void;
/**
* Triggers when the component load failed.
*/
onUnready?: (e: any) => void;
/**
* Triggers when the VcGeometryRectangle is destroyed
*/
onDestroyed?: (instance: VcComponentInternalInstance) => void;
};
export type VcGeometryRectangleRef = VcComponentPublicInstance<VcGeometryRectangleProps>;