public final class

CameraUpdate

extends Object
java.lang.Object
   ↳ com.google.android.gms.maps.CameraUpdate

Class Overview

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

To obtain a CameraUpdate use the factory class CameraUpdateFactory.

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

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

Summary

[Expand]
Inherited Methods
From class java.lang.Object
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.