VenueStyleMatcher

constructor(name: String, key: String, matchList: Array<String>, type: VenueStyleMatcherType, defaultStyle: VenueLayerStyle)

Default initializer

Parameters

name

The name of the matcher.

key

The key from the vector map tiles to match on.

matchList

A list of matching values.

type

The type of style layer this will be.

defaultStyle

the default style to apply when values are missing


constructor(name: String, key: String, matchList: Array<String>, type: VenueStyleMatcherType)

Default initializer

Parameters

name

The name of the matcher.

key

The key from the vector map tiles to match on.

matchList

A list of matching values.

type

The type of style layer this will be.