Skip to content

StyleSetterOptions

StyleSetterOptions = object

Defined in: style/style.ts:114

Supporting type to add validation to another style related type

Properties

validate?

optional validate?: boolean

Defined in: style/style.ts:118

Whether to check if the filter conforms to the MapLibre Style Specification. Disabling validation is a performance optimization that should only be used if you have previously validated the values you will be passing to this function.