I have two maps in my App, one map in HomePage and Page3, but when I use nav.push() the map in Page3 doesn’t work and more, when I back in my HomePage the my no show more
in HomePage
addPosition() {
let position = new google.maps.LatLng(-1.377280,-48.434706);
let mapOptions = {
zoom: 19,
center: position,
disableDefaultUI: true
}
this.map = new google.maps.Map(document.getElementById('map'), mapOptions);
this.myMarker(position);
}
in Page2 navigate to Page3:
navigatePage3(collect) {
this.navCtrl.push('MapSelectivePage', {
collect: collect
})
}