Map not showing twice

Hi, i am using leaflet to show offline map with mbtiles on my ionic application. When i open the map for the first time it comes properly but when i close and open it again nothing (No map).
Can any body help me with this issue ?

Here is the code

` = [lat,long]; =‘homeMapOff’, {
zoom: 9

let mb = L.tileLayer.mbTiles('assets/tiles/myFile.mbtiles', {
  minZoom: 9,
  maxZoom: 12

mb.on('databaseloaded', function(ev) {'MBTiles DB loaded', ev); 

mb.on('databaseerror', function(ev) {'MBTiles DB error', ev);