I am creating an application using Google Maps API v2 on Android.
The map display and marker settings are normal, but when you zoom in, the 3D building is
I'm in trouble because I can't see it. The device is Nexus5 and the Android version is 5.0.1. Below is the map settings.
private void mapInit(){
isMapInit=true;
// Get LocationManager
locationManager=(LocationManager) this.getSystemService(Context.LOCATION_SERVICE);
// Get current location information from GPS
Location myLocate=locationManager.getLastKnownLocation("gps");
// map type setting
GoogleMap.setMapType(GoogleMap.MAP_TYPE_NORMAL);
GoogleMap.setBuildsEnabled(true);
boolean test=googleMap.isBuildsEnabled();
// display the current position button
googleMap.setMyLocationEnabled(true);
mLocationClient=newGoogleApiClient.Builder(this)
.addApi (LocationServices.API)
.addConnectionCallbacks (this)
.addOnConnectionFailedListener(this)
.build();
if(mLocationClient!=null){
mLocationClient.connect();
}
}
I checked the value of isBuildsEnabled() as a trial, but it was true.
Also, GoogleMap has a 3D display, so there should be no problem with the terminal version.
TargetSdkVersion is set to 21.
I look forward to your kind cooperation.
It's only not displayed in 3D in Japan, but it's displayed in 3D in Los Angeles and other places.
572 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
618 Uncaught (inpromise) Error on Electron: An object could not be cloned
574 Who developed the "avformat-59.dll" that comes with FFmpeg?
578 Understanding How to Configure Google API Key
915 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2024 OneMinuteCode. All rights reserved.