AI-generated Key Takeaways
-
The
GoogleMap.OnCameraChangeListenerinterface is deprecated. -
This interface has been replaced by
OnCameraMoveStartedListener,OnCameraMoveListener, andOnCameraIdleListener. -
The
onCameraChangemethod is called after the camera position has changed, including the final position after an animation.
This interface is deprecated.
Replaced by GoogleMap.OnCameraMoveStartedListener,
GoogleMap.OnCameraMoveListener
and GoogleMap.OnCameraIdleListener.
The order in which the deprecated onCameraChange method will be called in
relation to the methods in the new camera change listeners is undefined.
Callback interface for when the camera changes position.
Public Method Summary
| abstract void |
Public Methods
public abstract void onCameraChange (CameraPosition position)
Called after the camera position has changed. During an animation, this listener may not be notified of intermediate camera positions. It is always called for the final position in the animation.
This is called on the Android UI thread.
Parameters
| position | The CameraPosition
at the end of the last camera change. |
|---|