diff --git a/Sources/MapLibreSwiftDSL/Style Layers/Symbol.swift b/Sources/MapLibreSwiftDSL/Style Layers/Symbol.swift index 2db5f1b..bdc92c0 100644 --- a/Sources/MapLibreSwiftDSL/Style Layers/Symbol.swift +++ b/Sources/MapLibreSwiftDSL/Style Layers/Symbol.swift @@ -10,6 +10,7 @@ import MapLibreSwiftMacros @MLNStyleProperty("textColor", supportsInterpolation: true) @MLNStyleProperty("textFontSize", supportsInterpolation: true) @MLNStyleProperty("text", supportsInterpolation: false) +@MLNStyleProperty<[String]?>("textFontNames", supportsInterpolation: false) // An enum would probably be better? @MLNStyleProperty("textAnchor", supportsInterpolation: false) @MLNStyleProperty("textOffset", supportsInterpolation: true) @@ -148,6 +149,7 @@ private struct SymbolStyleLayerInternal: StyleLayer { result.maximumTextWidth = definition.maximumTextWidth result.textAnchor = definition.textAnchor result.textOffset = definition.textOffset + result.textFontNames = definition.textFontNames result.textHaloColor = definition.textHaloColor result.textHaloWidth = definition.textHaloWidth