RenderOptionVectorOptions interface
定義向量瓦片渲染的參數。
屬性
| fill |
面要素的填充顏色。 |
| filter | 用於篩選特徵的 MapBox GL 篩選表示式。 |
| source |
向量圖塊中源層的名稱。 |
| stroke |
線條特徵的描邊顏色。 |
| stroke |
線條描邊的寬度(以像素為單位)。 |
| tilejson |
包含 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