@@ -7,6 +7,8 @@ import MapLibreSwiftMacros
7
7
@MLNStyleProperty < UIColor > ( " iconColor " , supportsInterpolation: true )
8
8
@MLNStyleProperty < Bool > ( " iconAllowsOverlap " , supportsInterpolation: false )
9
9
@MLNStyleProperty < CGVector > ( " iconOffset " , supportsInterpolation: true )
10
+ // An enum would probably be better?
11
+ @MLNStyleProperty < String > ( " iconAnchor " , supportsInterpolation: false )
10
12
11
13
@MLNStyleProperty < UIColor > ( " textColor " , supportsInterpolation: true )
12
14
@MLNStyleProperty < Double > ( " textFontSize " , supportsInterpolation: true )
@@ -16,6 +18,7 @@ import MapLibreSwiftMacros
16
18
@MLNStyleProperty < String > ( " textAnchor " , supportsInterpolation: false )
17
19
@MLNStyleProperty < CGVector > ( " textOffset " , supportsInterpolation: true )
18
20
@MLNStyleProperty < Double > ( " maximumTextWidth " , supportsInterpolation: true )
21
+ @MLNStyleProperty < Bool > ( " textAllowsOverlap " , supportsInterpolation: false )
19
22
20
23
@MLNStyleProperty < UIColor > ( " textHaloColor " , supportsInterpolation: true )
21
24
@MLNStyleProperty < Double > ( " textHaloWidth " , supportsInterpolation: true )
@@ -144,6 +147,7 @@ private struct SymbolStyleLayerInternal: StyleLayer {
144
147
result. iconAllowsOverlap = definition. iconAllowsOverlap
145
148
result. iconColor = definition. iconColor
146
149
result. iconOffset = definition. iconOffset
150
+ result. iconAnchor = definition. iconAnchor
147
151
148
152
result. text = definition. text
149
153
result. textColor = definition. textColor
@@ -152,6 +156,7 @@ private struct SymbolStyleLayerInternal: StyleLayer {
152
156
result. textAnchor = definition. textAnchor
153
157
result. textOffset = definition. textOffset
154
158
result. textFontNames = definition. textFontNames
159
+ result. textAllowsOverlap = definition. textAllowsOverlap
155
160
156
161
result. textHaloColor = definition. textHaloColor
157
162
result. textHaloWidth = definition. textHaloWidth
0 commit comments