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

    介面 AddCustomTileTextProperty

    新增自畫疊加標籤文字圖素參數。

    interface AddCustomTileTextProperty {
        geo: GeoPoint;
        text: string;
        visibleLevel?: number;
        epsg?: number;
        lineWidth?: number;
        fill?: boolean;
        stroke?: boolean;
        fillStyle?: string;
        strokeStyle?: string;
        lngLatScale?: number;
        font?: string;
    }

    層級 (查看層級一覽)

    索引

    屬性

    幾何。

    text: string

    標籤文字。

    visibleLevel?: number

    最小可視層級。

    0
    
    epsg?: number

    幾何的EPSG。

    lineWidth?: number

    線寬。

    0.5
    
    fill?: boolean

    是否要填充顏色。

    true
    
    stroke?: boolean

    是否要畫線。

    false
    
    fillStyle?: string

    填充的樣式。

    "FFF"
    
    strokeStyle?: string

    筆刷的樣式。

    "#000"
    
    lngLatScale?: number

    每像素比經緯的比例,若為負值則使用圖面大小。

    -1
    
    font?: string

    文字的字形或大小。

    "10x sans-serif"