Trying to figure out how to open ListPage from a button within the Google Maps marker.
https://i.sstatic.net/okXj5.png
1)
import { NavController, NavParams } from 'ionic-angular';
2)
constructor(public connectivityService: Connectivity, public navCtrl: NavController) {
}
3)
infowindow.setContent('<button style="font-size: 1.5em; color: red; font-weight: bold;" ion-button (click)="showlistPage()">ADD BLOOD</button>' + "</br>" + results[1].formatted_address+'<p style="color: red;">'+distanceToYou+" miles from your location</p>");
5)
showlistPage() {
this.navCtrl.push(ListPage);
}
Currently facing an error stating: homepage caused by no provider for navcontroller