mapbox / mapbox-annotation-extension

Framework extensions that can be used with the Mapbox Maps SDK for iOS.
ISC License
11 stars 18 forks source link

textHaloWidth doesn't work #38

Closed captainbarbosa closed 4 years ago

captainbarbosa commented 4 years ago

MGLSymbolStyleAnnotation.textHaloWidth does not render as expected.

In the Maps SDK, using the following values renders the text as so:

symbol.textHaloWidth = NSExpression(forConstantValue: 2.0)
symbol.textHaloBlur = NSExpression(forConstantValue: 2.0)
Screenshot 2019-07-26 17 43 04

And with this framework, I get this 😢

symbolAnnotation.textHaloWidth = 2.0
symbolAnnotation.textHaloBlur = 2.0
Screenshot 2019-07-26 17 44 28