你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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