Multiple capacitor google maps in one app

I have an Ionic Capacitor app that utilizes multiple google maps in different pages, my problem is that in android i had to set Ion-content to transparent in order to see the map, but because i did that now when i go to a new page that has another map i can see that the maps are on top of each other. I tried to destroy the map before leaving the page but i think since im using ion-router then the map is not really getting destroyed but it is getting cached.