Android Google maps glitch showing blank squares with x in the middle android

前端 未结 3 1577
花落未央
花落未央 2021-01-07 08:12

Like i say in title my app is behaving strangely. It all worked fine until this morning... I changed some image in my app before uploading it onto market, and then i wanted

3条回答
  •  清歌不尽
    2021-01-07 08:47

    This is a possible bug in Google Maps that has popped up as recently as the past few weeks.

    Someone else had a similar problem here.

    enter image description here

    In that case, the error was that both

    mapView.setSatellite(true);
    mapView.setStreetView(true);
    

    appeared in the code. The documentation says that this is allowed, but in practice, it seems to be causing problems. Look through your code to see if it contains both of those lines, and try commenting out one of them to see if it fixes things.

提交回复
热议问题