GoogleMap.OnCameraIdleListener

  • GoogleMap.OnCameraIdleListener is an interface used to receive callbacks when the camera on a GoogleMap stops moving.

  • The onCameraIdle() method is called when all camera movement and animations have ceased and the user is no longer interacting with the map.

  • This callback is executed on the Android UI thread, making it suitable for updating UI elements based on the final camera position.

public static interface GoogleMap.OnCameraIdleListener

Callback interface for when camera movement has ended.

Public Method Summary

abstract void
onCameraIdle()
Called when camera movement has ended, there are no pending animations and the user has stopped interacting with the map.

Public Methods

public abstract void onCameraIdle ()

Called when camera movement has ended, there are no pending animations and the user has stopped interacting with the map.

This is called on the Android UI thread.