Search code examples
androidgoogle-mapsmapactivity

Why does my android app shows google map with small boxes over the map?


I am working on an android app. It was working correctly before but then I had to re-install my machine and I lost my debug.keystore. So I generated a new api key for the new debug.keystore but now I see map but with small grey boxes over the map. Any idea why this is happening and how to get rid of these boxes? BTW I am developing on a linux machine, Ubuntu 10.04 to be exact.
enter image description here


Solution

  • The common suggestion that I have got is to dont use setStreeView(true) and setSatellite(true) together. Some have even suggested not to use setStreetView(true) altogether. But my code was working okay before. I had to reinstall my machine and therefore installed android SDK and other components afresh. So my guess is that this is an issue with some specific version But I have found out that this problem occurs specific revision of 2.2 - in my case Android SDK Platform 2.2, revision 3. I have tried running same code on 2.3 and it works correctly i.e no grey boxes.