Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map loading times are very slow for areas with CJK labels #3748

Closed
glzcc opened this issue Dec 6, 2016 · 4 comments
Closed

Map loading times are very slow for areas with CJK labels #3748

glzcc opened this issue Dec 6, 2016 · 4 comments
Labels
performance ⚡ Speed, stability, CPU usage, memory usage, or power usage

Comments

@glzcc
Copy link

glzcc commented Dec 6, 2016

**mapbox-gl-js version0.28:

Steps to Trigger Behavior

1.The internet 50kb/s
2.map need 4min load
3.

Expected Behavior

image

Actual Behavior

@glzcc
Copy link
Author

glzcc commented Dec 6, 2016

I was wondering if I could load the requested resource locally! /(ㄒoㄒ)/~~

@mourner
Copy link
Member

mourner commented Dec 6, 2016

This is a known issue when loading map areas with CJK glyphs, especially when you use multiple font styles. Mapbox GL loads fonts, depending on which glyphs are used in the current view, as chunks of 256-sized unicode intervals. This mechanism works great for most languages, but makes download times pretty big for CJK.

It's a very challenging issue to solve, but we're working on it.

@mourner mourner changed the title I My map load map resources are too slow, how to solve Map loading times are very slow for areas with CJK labels Dec 6, 2016
@mourner mourner added performance ⚡ Speed, stability, CPU usage, memory usage, or power usage high priority labels Dec 6, 2016
@mourner
Copy link
Member

mourner commented Dec 6, 2016

Also see #3466; the issue is being tracked at mapbox/node-fontnik#36.

@mourner mourner closed this as completed Dec 6, 2016
@glzcc
Copy link
Author

glzcc commented Dec 7, 2016

@mourner O(∩_∩)Othinks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance ⚡ Speed, stability, CPU usage, memory usage, or power usage
Projects
None yet
Development

No branches or pull requests

2 participants