Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

[IOS] MGLSymbolStyleLayer text will not display if it contains letters or Numbers #137

Closed
songyuyang0918 opened this issue Dec 20, 2019 · 2 comments

Comments

@songyuyang0918
Copy link

Platform: iOS
Mapbox SDK version: 5.5.0
Xcode version: Version 10.1 (10B61)
Devicemodels: iPad mini 3

Steps to trigger behavior:

1.I used GEOSwiftMapboxGL to convert the WKT into the pointAnno object of the MapBox through traversal.
2.The pointAnno data is then converted into an MGLPointFeature object and stored in an array.
3.Display the text label by generating MGLShapeSource and MGLSymbolStyleLayer.

屏幕快照 2019-12-20 下午5 45 57

屏幕快照 2019-12-20 下午5 34 49

Expected behavior

Display all text on the map.

Actual behavior

1.When mglshapesource.text = @ "测试" shows,
2.When mglshapesource.text = @ "测试 123" does not display
3.When mglshapesource.text = @ "测试 ABC" is not displayed

and
When text can be displayed, it is displayed at level >12, <12 is not displayed.

//1
4BFC136E5413ADCD1AD89360C72B3992

//2,3
8FDBE3C74AAA24571A1510BC63299E5C

@songyuyang0918
Copy link
Author

@Jing-flyloveyin
Does anyone have time to go over the problem?

@julianrex julianrex transferred this issue from mapbox/mapbox-gl-native Jan 6, 2020
@jmkiley
Copy link
Contributor

jmkiley commented Jan 13, 2020

Tracking in #122

@jmkiley jmkiley closed this as completed Jan 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants