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

slow map rendering with a lot of map markers #25

Open
saylorsd opened this issue Sep 11, 2019 · 1 comment
Open

slow map rendering with a lot of map markers #25

saylorsd opened this issue Sep 11, 2019 · 1 comment
Assignees

Comments

@saylorsd
Copy link
Contributor

When a lot of markers are on the map, it updates very slowly.

I think we may have too many markers to use the react-map-gl <Marker/> component.

The one solution I can think of is to render the markers server-side (on mapbox). This would involve reflecting the state of our app in a Mapbox style object and passing it to the Map component's mapStyle prop.

@saylorsd saylorsd self-assigned this Dec 4, 2019
@qualitymanifest
Copy link
Contributor

I've got a reasonably fast version of this going with a geoJSON Layer instead of Markers. Needs a little work but I'll make a PR tomorrow.

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

No branches or pull requests

2 participants