Mapbox-gl Map got truncated

Mapbox-gl got initialized and then tap a button nav.push(xxx) and then from xxx.ts nav.pop().



Then the map got truncated or not full screen.

The solution is to call this.map.resize with setTimeout() 200-250ms would do. 

Comments

Popular posts from this blog

Arduino RFID, RC522, VUSB HID as Keyboard

Codeigniter Oracle Transaction BUG

Power Save with Atmega16A and Atmega8-PU