Click image in info window to view it in full screen using PhotoViewer plugin for Ionic 2

I’m having a difficult time using the PhotoViewer plugin for ionic 2 when clicking an image in a info window on google maps. I’d like to view it in full screen when I click it. Each marker object includes a photo and is stored on firebase.

Could anyone here help me out by looking at my code?


… I’ve omitted a few things like and this.markerCluster, just fyi.

       //this.items refers to my firebase database
          this.items.on('child_added', (snapshots) => {
              let positionNew = snapshots.val()
              let latLng = new google.maps.LatLng(, positionNew.lng)
              let marker2 = new google.maps.Marker({
                                    animation: google.maps.Animation.DROP,
                                    position: latLng


    this.a = snapshots.val().Photo;
    this.b = snapshots.val().guestName;

    function seePhoto(image: string, title?: string): void{
    .then(() => {, title)

    let card = `<img height="125" width="125" src=${this.a} onclick="seePhoto(${this.a}, ${this.b})">`;
    let ContentPlace = card + "<p>" + this.b + "</p>";

          var infoWindow = new google.maps.InfoWindow({

              content: " "

      google.maps.event.addListener(marker2, 'click', () => {
      infoWindow.setContent(ContentPlace);, marker2);