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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-29 UTC.
[null,null,["Last updated 2025-01-29 UTC."],[[["The `GoogleMap.OnCameraMoveListener` interface provides a callback mechanism for responding to camera movements on a Google Map."],["The `onCameraMove()` method is called frequently as the camera moves, allowing developers to perform actions based on the current camera position."],["Developers should avoid performing resource-intensive tasks within the `onCameraMove()` method due to its frequent execution."],["The `onCameraMove()` callback is executed on the main Android UI thread, which handles UI updates and user interactions."]]],[]]