Google Maps Fullscreencontrol showing blank on Android and Chrome - Ionic

Viewed 295

I have integrated google maps in my ionic 2 project and it was working fine until I got the requirement to add the full screen option. I added the line, tested on google chrome, and when i clicked on full screen I got a blank screen. Compiled on Android, same problem. However it is working fine on Mozilla and IE. This is my code

   this.platform.ready().then(() => {

   let latLng = new google.maps.LatLng(-31.563910, 147.154312);

   let mapOptions = 
     {
       center: latLng,
       zoom: 5,
       mapTypeId: google.maps.MapTypeId.ROADMAP,
       fullscreenControl: true
     }

   this.map = google.maps.Map(this.mapElement.nativeElement, mapOptions);

   this.mapCluster.addCluster(this.customersView.paginatedCustomers, this.map);

});
0 Answers
Related