RenderOptionVectorOptions interface

Menentukan parameter untuk rendering petak peta vektor.

Properti

fillColor

Isi warna untuk fitur poligon.

filter

Ekspresi filter MapBox GL untuk memfilter fitur.

sourceLayer

Nama layer sumber dalam ubin vektor.

strokeColor

Warna goresan untuk fitur garis.

strokeWidth

Lebar goresan garis dalam piksel.

tilejsonKey

Kunci aset yang berisi URL TileJSON.

Detail Properti

fillColor

Isi warna untuk fitur poligon.

fillColor?: string

Nilai Properti

string

filter

Ekspresi filter MapBox GL untuk memfilter fitur.

filter?: string[]

Nilai Properti

string[]

sourceLayer

Nama layer sumber dalam ubin vektor.

sourceLayer: string

Nilai Properti

string

strokeColor

Warna goresan untuk fitur garis.

strokeColor?: string

Nilai Properti

string

strokeWidth

Lebar goresan garis dalam piksel.

strokeWidth?: number

Nilai Properti

number

tilejsonKey

Kunci aset yang berisi URL TileJSON.

tilejsonKey: string

Nilai Properti

string