Replies: 1 comment
-
The TextLayer uses |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use Unicode arrows in TextLayers on a map, but it's not working in iOS.
First, I tried using two "equilateral triangle arrowhead" arrows --
U+1F81D
andU+1F818
. These worked great in the Windows and non-Safari browsers I tried, but not at all in Mac or iOS Safari.So I tried switchingt to two "black arrow" characters which seem to have broader support across OSes --
U+2B06
andU+2B05
. These worked as expected in Windows and Mac browsers, including Mac Safari v16.5.2 ...... but they show up as rounded-corner squares in iOS 17.4.1. I believe this is because iOS is trying to render them as Emoji style rather than text.
I tried appending the "variation selector"
U+FE0E
after the character code for the arrows. This should force them to be rendered as text. My change did no harm on the other platforms, but it also has not changed the behavior in iOS like it should have. Here's how the code looks for the northward-pointing arrow on my example map:At this point I'm mystified. Anyone have any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions