RenderOptionVectorOptions interface

Defines parameters for vector tile rendering.

Properties

fillColor

Fill color for polygon features.

filter

MapBox GL filter expression to filter features.

sourceLayer

Name of the source layer in the vector tiles.

strokeColor

Stroke color for line features.

strokeWidth

Width of line strokes in pixels.

tilejsonKey

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