Accessing leaflet map object from ionic menu

Hi am trying to access my map from my menu(app.component.ts). In app.component.ts file I am importing tab1 which is the landing page. image
From here I have a button in the menu which calls this function: image
Which calls this function in tab1.component.ts: image

However it doesn’t appear I am able to access the leaflet map from the ionic menu. Here is the result of console.log for this.tab1 and an attempt to call the functions mentioned above which result in clearLayers being called on undefined objects:

Is it possible to access the leaflet map in another class from the menu class? Any help would be much appreciated :slight_smile: