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.
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
Mapcomponent'smapStyleprop.