mapbox-maps-ios icon indicating copy to clipboard operation
mapbox-maps-ios copied to clipboard

Using system fonts for SymbolLayer

Open ArtemBurmistrov opened this issue 3 years ago • 1 comments

New Feature

It would be really nice to have the ability to specify the fonts for SymbolLayer (and other things) trough UIFont.

Why

Current implementation uses the font family name or the specific font name to create fonts internally. It causes problems when UIFont.systemFont is used. In case of SymbolLayer it results errors while drawing layer and it being completely removed from the map.

ArtemBurmistrov avatar Jun 10 '22 08:06 ArtemBurmistrov

Here is a WWDC 2019 session that could add more context regarding this issue https://developer.apple.com/videos/play/wwdc2019-227/?time=166

ArtemBurmistrov avatar Jul 08 '22 13:07 ArtemBurmistrov