Source of camera movement - Exposing GoogleMap.OnCameraMoveStartedListener "reason"
See original GitHub issueHi!
Is there an equivalent for OnCameraMoveStartedListener.REASON_GESTURE
? If not, can you please support it? I would like to trigger a specific action when users moves the map. I’ve searched CameraPositionState.kt
and found isMoving
but this works the same if the camera was moved by code or by user.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:9
- Comments:5 (5 by maintainers)
Top Results From Across the Web
GoogleMap.OnCameraMoveStartedListener
Camera motion initiated in response to user gestures on the map. Public Method Summary. abstract void. onCameraMoveStarted(int reason).
Read more >How can I handle map move end using Google Maps for ...
I would try a onCameraChangeListener. The listener is called every time a movement of the camera is finished. The listener ...
Read more >GoogleMaps: Detect if camera move was started by user #50931
It contains a reason parameter which is REASON_GESTURE if the map was moved by a user gesture. If there's no other way, I...
Read more >Ultimate Guide to Camera Movement - YouTube
Camera Movement Cheatsheet (Shot List) ▻▻ http://bit.ly/cm-cheatsheetThe Ultimate Guide to Camera Movement ▻▻ http://bit.ly/cm-filmThe ...
Read more >Types of Camera Movements in Film Explained: Definitive Guide
Our ultimate guide to the different types of camera movements in film, part of our ongoing Shot List series.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This can be supported as another property on
CameraPositionState
I’ve opened a PR for this feature at https://github.com/googlemaps/android-maps-compose/pull/154.