CameraUpdate

public final classCameraUpdateextendsObject

Defines a camera move. An object of this type can be used to modify a map's camera by calling GoogleMap.animateCamera(CameraUpdate), GoogleMap.animateCamera(CameraUpdate, GoogleMap.CancelableCallback)or GoogleMap.moveCamera(CameraUpdate).

To obtain aCameraUpdate use the factory classCameraUpdateFactory.

For example, to zoom in on a map, you can use the following code:

GoogleMap map =...;
map.animateCamera(CameraUpdateFactory.zoomIn());

Developer Guide

For more information, read theCamera and Viewdeveloper guide.

Inherited Method Summary