Forum Cross Platform with Xamarin

Google Map renderer exception

I am getting below exception when google map loads. It was working in Xamarin Forms 3.2, It is not working after upgrading to Xamarin Forms 4.4.

Java.Lang.IllegalStateException: Error using newLatLngBounds(LatLngBounds, int): Map size can't be 0. Most likely, layout has not yet occured for the map view. Either wait until layout has occurred or use newLatLngBounds(LatLngBounds, int, int, int) which allows you to specify the map's dimensions.

Anyone fixed this issue? Thanks in advance.

Tagged:

Answers

Sign In or Register to comment.