How to destroy GoogleMaps on Ionic 3?

On my rootPage I call another page(mapPage) where the map get Load(loadMap()) and then when I pop this page or return to the root I need to destroy the map, cause everytime that I open the page(mapPage) the map load again above the last map, this is really annoyng, I already know that in the Ionic 3 there’s no function to destroy the map, but if anyone know something to help me I appreciate.

1 Like

If you are talking about ionic-native/google-maps, map.remove()

2 Likes