SupportMapFragment
'un yakınlaştırma seviyesini nasıl ayarlayabilirim? bu bir teklif Rob adlı adamı satın cevap gibi ben benzer sorular bulundu bazı cevaplar çalıştı:SupportMapFragment set google maps Zoom seviyesi
LatLng currentLocation = mService.getCurrentLocation();
CameraPosition cameraPosition = new CameraPosition.Builder()
.target(currentLocation) // Sets the center of the map to the current location of the user
.zoom(17) // Sets the zoom
.bearing(90) // Sets the orientation of the camera to east
.tilt(30) // Sets the tilt of the camera to 30 degrees
.build(); // Creates a CameraPosition from the builder
mGoogleMap.animateCamera(CameraUpdateFactory.newCameraPosition(cameraPosition));
Ama bu çözüm işe yaramadı. Yani, SupportMapFragment
kullandığımı bilerek Zoom seviyesini nasıl ayarlayabilirim. Geçerli konum sonra bu kodu deneyin boş değilse
Thx Mustanser çalışacaktır :) bu iyi çalışır – TeachMePls