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

    新增多邊形自畫疊加圖素指令參數。

    interface AddPolygonEntityCommandParameter {
        geo: PolygonSet;
        layerName: string;
        entityName: string;
        epsg?: number;
        tooltip?: null | string;
        fill?: boolean;
        lineWidth?: number;
        stroke?: boolean;
        fillStyle?: string;
        strokeStyle?: string;
        lineCap?: CanvasLineCap;
        lineJoin?: CanvasLineJoin;
        lineDash?: number[];
        visibleLevel?: number;
    }

    層級 (查看層級一覽)

    索引

    屬性

    點幾何。

    layerName: string

    自畫custom tile圖層名稱

    entityName: string

    自畫custom tile圖素名稱

    epsg?: number

    幾何的EPSG。

    tooltip?: null | string

    提示文字。

    fill?: boolean

    是否要填充顏色。

    true
    
    lineWidth?: number

    線寬。

    1
    
    stroke?: boolean

    是否要畫線。

    true
    
    fillStyle?: string

    填充的樣式。

    "#FFF"
    
    strokeStyle?: string

    筆刷的樣式。

    "#000"
    
    lineCap?: CanvasLineCap

    線終端的樣式。

    "butt"
    
    lineJoin?: CanvasLineJoin

    線閉合的樣式。

    "miter"
    
    lineDash?: number[]

    虛線樣式,空陣列為實線。

    []
    
    visibleLevel?: number

    最小可視層級。