RenderOptionVectorOptions interface
Defines parameters for vector tile rendering.
Properties
| fill |
Fill color for polygon features. |
| filter | MapBox GL filter expression to filter features. |
| source |
Name of the source layer in the vector tiles. |
| stroke |
Stroke color for line features. |
| stroke |
Width of line strokes in pixels. |
| tilejson |
Asset key containing the TileJSON URL. |
Property Details
fillColor
Fill color for polygon features.
fillColor?: string
Property Value
string
filter
MapBox GL filter expression to filter features.
filter?: string[]
Property Value
string[]
sourceLayer
Name of the source layer in the vector tiles.
sourceLayer: string
Property Value
string
strokeColor
Stroke color for line features.
strokeColor?: string
Property Value
string
strokeWidth
Width of line strokes in pixels.
strokeWidth?: number
Property Value
number
tilejsonKey
Asset key containing the TileJSON URL.
tilejsonKey: string
Property Value
string