Mapbox-gl flickers when resizing the container <div>

Viewed 100

I am working on a functionality where we can increase/decrease the Mapbox-gl container (), the resizing is done by dragging any corner of the Mapbox container. It is like increasing/decreasing a square/rectangular box. but it is flickering while increasing/decreasing the size. I am using mapbox gl js latest version v2.6.1

BUT, flickering is not happening with old Mapbox API (version v3.3.1)

Can you suggest ways to smooth experience with mapbox gl js

Thanks

0 Answers
Related