FontAwesome with .Net SDK

551
0
06-18-2019 11:02 AM
DennisWelu1
New Contributor II

It appears using a TextSymbol with FontAwesome is doable in the JS SDK: https://community.esri.com/thread/222045-extend-esri-icon-fonts-with-fonts-awesome. I'm not sure how to do the equivalent in a .Net SDK app, specifically a Xamarin Forms app in this case. FontAwesome is bundled and deployed with the app. I'm able to create the TextSymbol and put it on the map no problem. Color and size and all that are honored. But the font family is obviously not right (with all the name variations I've tried). It always shows up as a nicely sized and colored rectangle:

Any ideas if it's just a certain format for the FontFamily to reference the font files bundled with the app? Or do the fonts have to be bundled a different way? Or is this not doable?

Tags (2)
0 Replies