In onMapReady, which call centres the map on a position at zoom 15?
- map.center = pos
- map.zoomTo(pos, 15)
- map.camera(15)
- map.moveCamera(CameraUpdateFactory.newLatLngZoom(pos, 15f))
Answer
D) map.moveCamera(CameraUpdateFactory.newLatLngZoom(pos, 15f))
CameraUpdateFactory creates the camera update.
Computer Science MCQ · More Lab: Showing a Location on Google Maps MCQs · Practise