Skip to content

@npm9912/v-map


@npm9912/v-map / types/styleconfig / StyleConfig

Interface: StyleConfig

Defined in: src/types/styleconfig.ts:1

Properties

extrudeHeight?

optional extrudeHeight: number

Defined in: src/types/styleconfig.ts:32


fillColor?

optional fillColor: string

Defined in: src/types/styleconfig.ts:3


fillOpacity?

optional fillOpacity: number

Defined in: src/types/styleconfig.ts:4


iconAnchor?

optional iconAnchor: [number, number]

Defined in: src/types/styleconfig.ts:20


iconSize?

optional iconSize: [number, number]

Defined in: src/types/styleconfig.ts:19


iconUrl?

optional iconUrl: string

Defined in: src/types/styleconfig.ts:18


pointColor?

optional pointColor: string

Defined in: src/types/styleconfig.ts:14


pointOpacity?

optional pointOpacity: number

Defined in: src/types/styleconfig.ts:15


pointRadius?

optional pointRadius: number

Defined in: src/types/styleconfig.ts:13


strokeColor?

optional strokeColor: string

Defined in: src/types/styleconfig.ts:7


strokeDashArray?

optional strokeDashArray: number[]

Defined in: src/types/styleconfig.ts:10


strokeOpacity?

optional strokeOpacity: number

Defined in: src/types/styleconfig.ts:9


strokeWidth?

optional strokeWidth: number

Defined in: src/types/styleconfig.ts:8


styleFunction()?

optional styleFunction: (feature) => Partial<StyleConfig>

Defined in: src/types/styleconfig.ts:35

Parameters

feature

unknown

Returns

Partial<StyleConfig>


textColor?

optional textColor: string

Defined in: src/types/styleconfig.ts:24


textHaloColor?

optional textHaloColor: string

Defined in: src/types/styleconfig.ts:26


textHaloWidth?

optional textHaloWidth: number

Defined in: src/types/styleconfig.ts:27


textOffset?

optional textOffset: [number, number]

Defined in: src/types/styleconfig.ts:28


textProperty?

optional textProperty: string

Defined in: src/types/styleconfig.ts:23


textSize?

optional textSize: number

Defined in: src/types/styleconfig.ts:25


zOffset?

optional zOffset: number

Defined in: src/types/styleconfig.ts:31