On this page
Properties

Type Alias StyleSetterOptions

Supporting type to add validation to another style related type

type StyleSetterOptions = {
    validate?: boolean;
}
Index

Properties

Properties

validate?: boolean

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.

Was this helpful?
SDK JS
Reference
StyleSetterOptions