GoogleMap.OnCameraMoveListener

  • GoogleMap.OnCameraMoveListener is an interface to handle camera movement events in Google Maps.

  • onCameraMove() is a method within this interface, called frequently during camera movement after it starts, and it's crucial to avoid heavy computations within this method.

  • The onCameraMove() method executes on the Android UI thread, implying that UI updates are safe to perform within this callback.

public static interface GoogleMap.OnCameraMoveListener

Callback interface for when the camera changes position.

Public Method Summary

abstract void
onCameraMove()
Called repeatedly as the camera continues to move after an onCameraMoveStarted call.

Public Methods

public abstract void onCameraMove ()

Called repeatedly as the camera continues to move after an onCameraMoveStarted call. This may be called as often as once every frame and should not perform expensive operations.

This is called on the Android UI thread.