updateCamera

fun updateCamera(update: VMECameraUpdate)

Repositions the camera according to the instructions defined in the update. The update is instantaneous.

Since

1.19

VMECameraUpdate lUpdate = new VMECameraUpdateBuilder()
.setTargets(Arrays.asList("outside"))
.setHeading(VMECameraHeading.newHeading(60.0f))
.setViewMode(VMEViewMode.GLOBAL)
.setPitch(VMECameraPitch.newPitch(-30))
.setDistanceRange(VMECameraDistanceRange.newRadiusRange(10,100))
.build();
mMapController.updateCamera(lUpdate);

See also

for the available update constructors.

Parameters

update

The update to apply.