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

    介面 AddAISEntityParameter

    新增AIS軌跡實體參數。

    interface AddAISEntityParameter {
        source: string | File;
        onGround?: boolean;
        color?: window.ov.Color;
        size?: number;
        lon?: string;
        lat?: string;
        alt?: string;
        heading?: string;
        velocity?: string;
        timeStamp?: string;
        title?: string;
        target?: PointTargetParameter | GLTFTargetParameter;
        callback?: (entity: string | TrackEntity) => void;
    }
    索引

    屬性

    source: string | File

    AIS的來源或檔案或CSV物件。

    onGround?: boolean

    是否貼地。

    false
    
    color?: window.ov.Color

    船隻的顏色。

    new ov.Color("#FF0000")
    
    size?: number

    船隻的大小。

    10
    
    lon?: string

    經度欄位名。

    "LON"
    
    lat?: string

    緯度欄位名。

    "LAT"
    
    alt?: string

    高度欄位名。

    "ALT"
    
    heading?: string

    朝向欄位名。

    "HEADING"
    
    velocity?: string

    速度欄位名。

    "SPEED"
    
    timeStamp?: string

    時間欄位名。

    "TIMESTAMP"
    
    title?: string

    標題欄位名。

    "SHIP_ID"
    

    目標參數。

    callback?: (entity: string | TrackEntity) => void

    完成回呼。

    類型宣告

      • (entity: string | TrackEntity): void
      • 參數

        • entity: string | TrackEntity

          軌跡模組圖素或錯誤訊息。

        回傳 void