MTStyleSetterOptions
public struct MTStyleSetterOptions : @unchecked Sendable, Codable
Supporting type to add validation to another style related type.
-
Boolean indicating whether 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.
Declaration
Swift
public var shouldValidate: Bool
-
Initializes the setter options.
Declaration
Swift
public init(shouldValidate: Bool)