import type { DynamicOverlayOpts, SampledPosition, TrackViewOpts, VcComponentInternalInstance, VcHeadingPitchRange, VcReadyObject } from 'vue-cesium/es/utils/types'; import type { ComponentPublicInstance, PropType } from 'vue'; import DynamicOverlay from 'vue-cesium/es/shared/src/DynamicOverlay'; export declare const dynamicOverlayProps: { name: { type: StringConstructor; default: string; }; startTime: { type: PropType; }; stopTime: { type: PropType; }; currentTime: { type: PropType; }; clockRange: { type: PropType; default: number; }; clockStep: { type: PropType; default: number; }; shouldAnimate: { type: BooleanConstructor; default: boolean; }; canAnimate: { type: BooleanConstructor; default: boolean; }; multiplier: { type: NumberConstructor; default: number; }; dynamicOverlays: { type: PropType; default: () => any[]; }; defaultInterval: { type: NumberConstructor; default: number; }; stopArrivedFlag: { type: PropType<"time" | "position" | "both" | "or">; default: string; }; positionPrecision: { type: NumberConstructor; default: number; }; timePrecision: { type: NumberConstructor; default: number; }; show: { type: PropType; default: boolean; }; }; declare const emits: { 'update:currentTime': (currentTime: Cesium.JulianDate) => boolean; 'update:shouldAnimate': (shouldAnimate: boolean) => boolean; 'update:canAnimate': (canAnimate: boolean) => boolean; 'update:clockRange': (clockRange: number | Cesium.ClockRange) => boolean; 'update:clockStep': (clockStep: number | Cesium.ClockStep) => boolean; 'update:multiplier': (multiplier: number) => boolean; 'update:startTime': (startTime: Cesium.JulianDate) => boolean; 'update:stopTime': (stopTime: Cesium.JulianDate) => boolean; onStop: (clock: Cesium.Clock) => boolean; stopArrived: (e: { overlay: DynamicOverlay; position: SampledPosition; offset: Cesium.HeadingPitchRange; clock: Cesium.Clock; indexOverlay: number; indexPosition: number; }) => boolean; beforeLoad: (instance: VcComponentInternalInstance) => boolean; ready: (readyObj: VcReadyObject) => boolean; unready: (e: any) => boolean; destroyed: (instance: VcComponentInternalInstance) => boolean; }; declare const _default: import("vue").DefineComponent<{ show?: boolean; name?: string; startTime?: Cesium.JulianDate | string | Date; stopTime?: Cesium.JulianDate | string | Date; currentTime?: Cesium.JulianDate | string | Date; clockRange?: number | Cesium.ClockRange; clockStep?: number | Cesium.ClockStep; shouldAnimate?: boolean; canAnimate?: boolean; multiplier?: number; dynamicOverlays?: Array; defaultInterval?: number; stopArrivedFlag?: "time" | "position" | "both" | "or"; positionPrecision?: number; timePrecision?: number; onBeforeLoad?: (instance: VcComponentInternalInstance) => void; onReady?: (readyObject: VcReadyObject) => void; onUnready?: (e: any) => void; onDestroyed?: (instance: VcComponentInternalInstance) => void; onOnStop?: (clock: Cesium.Clock) => void; onStopArrived?: (e: { overlay: DynamicOverlay; position: SampledPosition; offset: Cesium.HeadingPitchRange; clock: Cesium.Clock; indexOverlay: number; indexPosition: number; }) => void; 'onUpdate:currentTime'?: (currentTime: Cesium.JulianDate) => void; 'onUpdate:shouldAnimate'?: (shouldAnimate: boolean) => void; 'onUpdate:canAnimate'?: (canAnimate: boolean) => void; 'onUpdate:clockRange'?: (clockRange: number | Cesium.ClockRange) => void; 'onUpdate:clockStep'?: (clockStep: number | Cesium.ClockStep) => void; 'onUpdate:multiplier'?: (multiplier: number) => void; 'onUpdate:startTime'?: (startTime: Cesium.JulianDate) => void; 'onUpdate:stopTime'?: (stopTime: Cesium.JulianDate) => void; }, () => import("vue").VNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { 'update:currentTime': (currentTime: Cesium.JulianDate) => boolean; 'update:shouldAnimate': (shouldAnimate: boolean) => boolean; 'update:canAnimate': (canAnimate: boolean) => boolean; 'update:clockRange': (clockRange: number | Cesium.ClockRange) => boolean; 'update:clockStep': (clockStep: number | Cesium.ClockStep) => boolean; 'update:multiplier': (multiplier: number) => boolean; 'update:startTime': (startTime: Cesium.JulianDate) => boolean; 'update:stopTime': (stopTime: Cesium.JulianDate) => boolean; onStop: (clock: Cesium.Clock) => boolean; stopArrived: (e: { overlay: DynamicOverlay; position: SampledPosition; offset: Cesium.HeadingPitchRange; clock: Cesium.Clock; indexOverlay: number; indexPosition: number; }) => boolean; beforeLoad: (instance: VcComponentInternalInstance) => boolean; ready: (readyObj: VcReadyObject) => boolean; unready: (e: any) => boolean; destroyed: (instance: VcComponentInternalInstance) => boolean; }, string, import("vue").PublicProps, Readonly<{ show?: boolean; name?: string; startTime?: Cesium.JulianDate | string | Date; stopTime?: Cesium.JulianDate | string | Date; currentTime?: Cesium.JulianDate | string | Date; clockRange?: number | Cesium.ClockRange; clockStep?: number | Cesium.ClockStep; shouldAnimate?: boolean; canAnimate?: boolean; multiplier?: number; dynamicOverlays?: Array; defaultInterval?: number; stopArrivedFlag?: "time" | "position" | "both" | "or"; positionPrecision?: number; timePrecision?: number; onBeforeLoad?: (instance: VcComponentInternalInstance) => void; onReady?: (readyObject: VcReadyObject) => void; onUnready?: (e: any) => void; onDestroyed?: (instance: VcComponentInternalInstance) => void; onOnStop?: (clock: Cesium.Clock) => void; onStopArrived?: (e: { overlay: DynamicOverlay; position: SampledPosition; offset: Cesium.HeadingPitchRange; clock: Cesium.Clock; indexOverlay: number; indexPosition: number; }) => void; 'onUpdate:currentTime'?: (currentTime: Cesium.JulianDate) => void; 'onUpdate:shouldAnimate'?: (shouldAnimate: boolean) => void; 'onUpdate:canAnimate'?: (canAnimate: boolean) => void; 'onUpdate:clockRange'?: (clockRange: number | Cesium.ClockRange) => void; 'onUpdate:clockStep'?: (clockStep: number | Cesium.ClockStep) => void; 'onUpdate:multiplier'?: (multiplier: number) => void; 'onUpdate:startTime'?: (startTime: Cesium.JulianDate) => void; 'onUpdate:stopTime'?: (stopTime: Cesium.JulianDate) => void; }> & Readonly<{ onBeforeLoad?: (instance: VcComponentInternalInstance) => any; onReady?: (readyObj: VcReadyObject) => any; onUnready?: (e: any) => any; onDestroyed?: (instance: VcComponentInternalInstance) => any; onOnStop?: (clock: Cesium.Clock) => any; "onUpdate:currentTime"?: (currentTime: Cesium.JulianDate) => any; "onUpdate:shouldAnimate"?: (shouldAnimate: boolean) => any; "onUpdate:canAnimate"?: (canAnimate: boolean) => any; "onUpdate:clockRange"?: (clockRange: number) => any; "onUpdate:clockStep"?: (clockStep: number) => any; "onUpdate:multiplier"?: (multiplier: number) => any; "onUpdate:startTime"?: (startTime: Cesium.JulianDate) => any; "onUpdate:stopTime"?: (stopTime: Cesium.JulianDate) => any; onStopArrived?: (e: { overlay: DynamicOverlay; position: SampledPosition; offset: Cesium.HeadingPitchRange; clock: Cesium.Clock; indexOverlay: number; indexPosition: number; }) => any; }>, { show: boolean; name: string; clockRange: number; clockStep: number; shouldAnimate: boolean; canAnimate: boolean; multiplier: number; dynamicOverlays: DynamicOverlayOpts[]; defaultInterval: number; stopArrivedFlag: "position" | "time" | "both" | "or"; positionPrecision: number; timePrecision: number; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default; export interface VcOverlayDynamicProps { /** * Specify whether to display the CustomDataSource that hosts the dynamic overlays. * Default value: true */ 'show'?: boolean; /** * Specify the name of the CustomDataSource. * Default value: __vc__overlay__dynamic__ */ 'name'?: string; /** * Specify the start time of the clock. */ 'startTime'?: Cesium.JulianDate | string | Date; /** * Specify the stop time of the clock. */ 'stopTime'?: Cesium.JulianDate | string | Date; /** * Specify the current time. */ 'currentTime'?: Cesium.JulianDate | string | Date; /** * Determines how the clock should behave when Clock#startTime or Clock#stopTime is reached. * Default value: 0 */ 'clockRange'?: number | Cesium.ClockRange; /** * Determines if calls to Clock#tick are frame dependent or system clock dependent. * Default value: 1 */ 'clockStep'?: number | Cesium.ClockStep; /** * Indicates whether Clock#tick should attempt to advance time. The clock will only tick when both Clock#canAnimate and Clock#shouldAnimate are true. * Default value: true */ 'shouldAnimate'?: boolean; /** * Indicates whether Clock#tick can advance time. This could be false if data is being buffered, for example. The clock will only tick when both Clock#canAnimate and Clock#shouldAnimate are true. * Default value: true */ 'canAnimate'?: boolean; /** * Determines how much time advances when Clock#tick is called, negative values allow for advancing backwards. * Default value: 1.0 */ 'multiplier'?: number; /** * Specify the dynamicOverlays array. */ 'dynamicOverlays'?: Array; /** * Specify the default refresh interval of the default position information, and it is available to change the position of the dynamic overlays in real time. * Default value: 3.0 */ 'defaultInterval'?: number; /** * Specify the decision flag for the stopArrived event. * Default value: time */ 'stopArrivedFlag'?: 'time' | 'position' | 'both' | 'or'; /** * Specify position accuracy. * Default value: 0.0000001 */ 'positionPrecision'?: number; /** * Specify time accuracy. * 0.01 */ 'timePrecision'?: number; /** * Triggers before the VcOverlayDynamic is loaded. */ 'onBeforeLoad'?: (instance: VcComponentInternalInstance) => void; /** * Triggers when the VcOverlayDynamic is successfully loaded. */ 'onReady'?: (readyObject: VcReadyObject) => void; /** * Triggers when the component load failed. */ 'onUnready'?: (e: any) => void; /** * Triggers when the VcOverlayDynamic is destroyed. */ 'onDestroyed'?: (instance: VcComponentInternalInstance) => void; /** * Triggers when Clock#stopTime is reached. */ 'onOnStop'?: (clock: Cesium.Clock) => void; /** * Triggers when a stop is reached. */ 'onStopArrived'?: (e: { overlay: DynamicOverlay; position: SampledPosition; offset: Cesium.HeadingPitchRange; clock: Cesium.Clock; indexOverlay: number; indexPosition: number; }) => void; /** * Triggers when currentTime changed. */ 'onUpdate:currentTime'?: (currentTime: Cesium.JulianDate) => void; /** * Triggers when shouldAnimate changed. */ 'onUpdate:shouldAnimate'?: (shouldAnimate: boolean) => void; /** * Triggers when canAnimate changed. */ 'onUpdate:canAnimate'?: (canAnimate: boolean) => void; /** * Triggers when clockRange changed. */ 'onUpdate:clockRange'?: (clockRange: number | Cesium.ClockRange) => void; /** * Triggers when clockStep changed. */ 'onUpdate:clockStep'?: (clockStep: number | Cesium.ClockStep) => void; /** * Triggers when multiplier changed. */ 'onUpdate:multiplier'?: (multiplier: number) => void; /** * Triggers when startTime changed. */ 'onUpdate:startTime'?: (startTime: Cesium.JulianDate) => void; /** * Triggers when stopTime changed. */ 'onUpdate:stopTime'?: (stopTime: Cesium.JulianDate) => void; } export type VcOverlayDynamicEmits = typeof emits; export interface VcOverlayDynamicRef extends ComponentPublicInstance { /** * Get overlay by id or index. * @param e id or index. */ getOverlay: (e: number | string | DynamicOverlay) => DynamicOverlay; /** * Get overlays. */ getOverlays: () => Array; /** * Track dynamic overlay. * @param trackOverlay tracked overlay or tracked overlay's id or index. If not passed, the first overlay is tracked by default. * @param trackViewOpts view parameters. */ trackOverlay: (trackOverlay?: DynamicOverlay | string | number, trackViewOpts?: TrackViewOpts) => void; /** * Zoom to dynamic overlay(s). * @param viewOverlays Dynamic overlays (index, id) or a collection of dynamic overlay (index, id). If you don't pass it or pass in an empty array (empty object), it scales to all overlays. * @param offset The camera offset to zoom to the overlay. */ zoomToOverlay: (overlays: number | string | DynamicOverlay | Array, offset?: VcHeadingPitchRange) => Promise; /** * Fly to dynamic overlay(s). * @param viewOverlays Dynamic overlays (index, id) or a collection of dynamic overlay (index, id). If you don't pass it or pass in an empty array (empty object), it scales to all overlays. * @param offset The camera offset to zoom to the overlay. */ flyToOverlay: (overlays: number | string | DynamicOverlay | Array, options?: { duration?: number; maximumHeight?: number; offset?: VcHeadingPitchRange; }) => Promise; } //# sourceMappingURL=index.d.ts.map