Blue screen in Google Maps for Android
•
Android
When I load Google Maps on Android, I will see a blue screen. I don't know what I did wrong. This is my code to get the location:
MapView mapView = (MapView) findViewById(R.id.mapDire);
Route route = directions(new GeoPoint((int)(2*1E6),(int)(34*1E6)),
new GeoPoint((int)(3*1E6),(int)(36*1E6)));
resolvent:
I think it can be two things
>Your coordinates are 0,0, the map is open in the ocean > there is a problem with your API key
In the first case, try to shrink many times and try to see some continents
Try reading the document the second time or / and try this link
I hope it helps
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码