RenderOptionVectorOptions interface

定義向量瓦片渲染的參數。

屬性

fillColor

面要素的填充顏色。

filter

用於篩選特徵的 MapBox GL 篩選表示式。

sourceLayer

向量圖塊中源層的名稱。

strokeColor

線條特徵的描邊顏色。

strokeWidth

線條描邊的寬度(以像素為單位)。

tilejsonKey

包含 TileJSON URL 的 Asset key。

屬性詳細資料

fillColor

面要素的填充顏色。

fillColor?: string

屬性值

string

filter

用於篩選特徵的 MapBox GL 篩選表示式。

filter?: string[]

屬性值

string[]

sourceLayer

向量圖塊中源層的名稱。

sourceLayer: string

屬性值

string

strokeColor

線條特徵的描邊顏色。

strokeColor?: string

屬性值

string

strokeWidth

線條描邊的寬度(以像素為單位)。

strokeWidth?: number

屬性值

number

tilejsonKey

包含 TileJSON URL 的 Asset key。

tilejsonKey: string

屬性值

string