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 after user interaction.

  • This callback is executed on the Android UI thread, ensuring any UI updates triggered by it happen seamlessly.

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.