Hello !
I am trying from the infoWindow of a google map marker to push a new view :
// create new marker
let markerOptions: MarkerOptions = {
position: ionic,
title: 'More details >',
infoClick: function() {
this.navCtrl.push(Info)
}
I am getting " Runtime error, undefined is not an object (evaluating ‘this.navCtrl.push’) ".
Anyone knows what I’ve done wrong ? Or if there is a more elegant way to do ?
Thank you !