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

    更新自畫三角面集合圖素指令參數。

    interface UpdateByCommandParameter {
        geo?:
            | PolygonSet
            | [window.GeoJSON.Point, window.GeoJSON.Point, window.GeoJSON.Point][];
        triangleTp?:
            | PolygonSet
            | [window.GeoJSON.Point, window.GeoJSON.Point, window.GeoJSON.Point][];
        drawColor?: window.ov.ColorLike;
        fillColor?: window.ov.ColorLike;
        epsg?: number;
        outputDepth?: boolean;
        drawLines?: boolean;
        texture?: null | string;
        textureSize?: number | number[] | "full" | { x: number; y: number };
        fillOpacity?: number;
        drawOpacity?: number;
        nullInside?: boolean;
        layerName: string;
        entityName: string;
    }

    層級 (查看層級一覽)

    索引

    屬性

    幾何,三個點一組的陣列,或是GeoPolygon、GeoPolygonSet。

    triangleTp?:
        | PolygonSet
        | [window.GeoJSON.Point, window.GeoJSON.Point, window.GeoJSON.Point][]

    幾何點的紋理坐標,格式需與幾何相同相同。

    drawColor?: window.ov.ColorLike

    線顏色。

    fillColor?: window.ov.ColorLike

    填色。

    epsg?: number

    幾何EPSG。

    outputDepth?: boolean

    是否輸出深度,可作為行走物體。

    drawLines?: boolean

    是否把幾何轉成線。

    texture?: null | string

    貼圖網址。

    textureSize?: number | number[] | "full" | { x: number; y: number }

    貼圖相對於世界的尺寸,單位為公尺,可以只給一個值,給"full"表示全部只用一張圖,預設為每1000*1000貼一次圖。

    fillOpacity?: number

    三角面不透明度0~1

    drawOpacity?: number

    框線不透明度0~1。

    nullInside?: boolean

    是否為透空。

    layerName: string

    自畫圖層名稱

    entityName: string

    自畫圖素名稱