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

Dynamic Makers make map slow #5360

Closed
cuvant opened this issue Sep 27, 2017 · 2 comments
Closed

Dynamic Makers make map slow #5360

cuvant opened this issue Sep 27, 2017 · 2 comments

Comments

@cuvant
Copy link

cuvant commented Sep 27, 2017

Hello,

Currently I'm working on a map app, and I decided to use MapBox GL JS API for the map. Currently I have an issue when I load the map on a big screen > 24inch. The map is lagging hard, and I have idea what may cause this.

I simply do a AJAX call on 'zoomed' event to fetch the locations that should be displayed in the maps view point.

Then I just loop through the GeoJSON and create markes and add items in the nabar.

You can see the behaviour here. Thank you :)

@jfirebaugh
Copy link
Contributor

Can you quantify the performance you're seeing, or provide profiling data? Just glancing at the page you linked in Chrome, I'm not seeing the issue.

@joedjc
Copy link

joedjc commented Oct 2, 2017

Possibly linked to this: #5390

I think its very browser dependent - Safari, IE and Edge seem to have the problem but FireFox and Chrome are ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants