Which code moves the camera to a location at zoom 15?

  1. map.goTo(15)
  2. map.camera = latLng
  3. map.zoom(15)
  4. map.moveCamera(CameraUpdateFactory.newLatLngZoom(latLng, 15f))
Answer

D) map.moveCamera(CameraUpdateFactory.newLatLngZoom(latLng, 15f))

CameraUpdateFactory creates camera updates.

Computer Science MCQ · More Maps and Consuming Web Services over HTTP MCQs · Practise