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