Closed underoot closed 3 months ago
Created snapshot of state and make comparision to understand that we need to update only markers at the moment. Helped improve performance of markers dragging in Safari
Before: https://github.com/mapbox/mapbox-gl-directions/assets/2480721/d28d9156-4e5e-4ad3-9329-d1574b1fa180
After: https://github.com/mapbox/mapbox-gl-directions/assets/2480721/ea18fd57-6833-420f-b4dc-12524a4ecb09
Created snapshot of state and make comparision to understand that we need to update only markers at the moment. Helped improve performance of markers dragging in Safari
Before: https://github.com/mapbox/mapbox-gl-directions/assets/2480721/d28d9156-4e5e-4ad3-9329-d1574b1fa180
After: https://github.com/mapbox/mapbox-gl-directions/assets/2480721/ea18fd57-6833-420f-b4dc-12524a4ecb09