PilotGaea 3D O'view
    正在準備搜尋索引...

    類型別名 TimelineWidgetSetting

    TimelineWidgetSetting: WidgetSetting & {
        leftTime?: Date;
        fixRange?: boolean;
        fixInterval?: number;
        timeRange?: number;
        dateLabelFunction?: (date: Date) => string;
        pinLabelFunction?: (date: Date) => string;
        startTime?: Date | number | string | null;
        stopTime?: Date | number | string | null;
        addToTerrainView?: boolean;
        isRepeat?: boolean;
        hideDate?: boolean;
        updateSystemTime?: boolean;
        style?: CSSStyleMap;
        barStyle?: CSSStyleMap;
        pinStyle?: CSSStyleMap;
        timeBlocks?: TimeBlock[];
        links?: ITimelinePlayable[];
        countColorMap?: { count?: number[]; color?: window.ov.Color[] };
    }

    時間軸Widget參數

    類型宣告

    • 可選leftTime?: Date

      時間軸左邊界時間,Date或任何new Date接受的參數。

    • 可選fixRange?: boolean

      固定時間範圍。

    • 可選fixInterval?: number

      固定時間區間,單位為毫秒,預設為0即不固定時間區間。

    • 可選timeRange?: number

      起始時間範圍,單位為毫秒,預設為一天。

    • 可選dateLabelFunction?: (date: Date) => string

      時間轉換文字標籤函數,輸入為時間,預設為Date.toLocaleString。

    • 可選pinLabelFunction?: (date: Date) => string

      指針時間轉換文字標籤函數,輸入為時間,套用優先順序為pinLabelFunction > dateLabelFunction >Date.toLocaleString。

    • 可選startTime?: Date | number | string | null

      播放開始時間,Date或任何new Date接受的參數,若為null則清除設定。

    • 可選stopTime?: Date | number | string | null

      播放停止時間,Date或任何new Date接受的參數,若為null則清除設定。

    • 可選addToTerrainView?: boolean

      是否加到圖台上。

      true
      
    • 可選isRepeat?: boolean

      是否重複播放,若開始與停止時間都有設定則播放時可重複播放,但停止播放時拖曳不受影響。

      false
      
    • 可選hideDate?: boolean

      是否隱藏時間文字與指示。

      false
      
    • 可選updateSystemTime?: boolean

      是否更新系統時間,若否則只影響聯動物件。

      true
      
    • 可選style?: CSSStyleMap

      容器DOM元件style參數。

    • 可選barStyle?: CSSStyleMap

      色條元件style參數。

    • 可選pinStyle?: CSSStyleMap

      指針元件style參數。

    • 可選timeBlocks?: TimeBlock[]

      時段色塊。

    • 可選links?: ITimelinePlayable[]

      聯動物件。

    • 可選countColorMap?: { count?: number[]; color?: window.ov.Color[] }

      計數色塊分層設色表,用於指定為給予顏色設定的色塊統計數量的顏色對照。

      • 可選count?: number[]

        計數色塊分層設色的高度表。

      • 可選color?: window.ov.Color[]

        計數色塊分層設色的顏色表。