Google Map not refreshing on every turn


#1

In my ionic 2 app i am using three locations.
it depends on the user which location is selects.

It is not refreshing the map for every location. It shows the last map when the user presses the button for another time for another option
If the user closes the app and then selects other location it shows the right location.

import { Component, AfterViewInit } from '@angular/core';
import { NavController, NavParams } from 'ionic-angular';
import { GoogleMap, GoogleMapsEvent, LatLng } from '@ionic-native/google-maps';

@Component({
  selector: 'page-map',
  templateUrl: 'map.html'
})
export class Map implements AfterViewInit {
    private center_appoint:any;
    private center_contact:any;
    map: GoogleMap;
    constructor(public navCtrl: NavController, private params: NavParams) {
    this.center_appoint = this.params.get("location");
    this.center_contact = this.params.get("appoint");
   }

  ngAfterViewInit() {
    this.loadMap()
  }

  loadMap() {

if(this.center_appoint =="0"|| this.center_contact=="Istanbul"){
   
      var location: LatLng = new LatLng(XX.XXXXX, YY.YYYYY)
}
else if(this.center_appoint =="1"|| this.center_contact=="NewYork")
{
      
      var location: LatLng = new LatLng(XX.XXXXX,YY.YYYYY)
}
else if(this.center_appoint =="2"|| this.center_contact=="London")
{
    
      var location: LatLng = new LatLng(XX.XXXXX,YY.YYYYY)
}

    this.map = new GoogleMap('map', {
      'backgroundColor': 'white',
      'controls': {
        'compass': true,
        'myLocationButton': true,
        'indoorPicker': true,
        'zoom': true
      },
      'gestures': {
        'scroll': true,
        'tilt': true,
        'rotate': true,
        'zoom': true
      },
      'camera': {
        'latLng': location,
        //'tilt': 30,
        'tilt': 0,
        'zoom': 15,
        'bearing': 50
      },
    });

    this.map.on(GoogleMapsEvent.MAP_READY).subscribe(
      () => {
        console.log('Map is ready!')
        this.map.addMarker({
          'position': location,
          'visible': true,
          'title': "George Wash",
          'markerClick': function (marker) {
            marker.showInfoWindow();
          }
        });
      });
  }
}