Skip to content

Added support for new Android camera movement APIs#1710

Merged
christopherdro merged 1 commit intoreact-native-maps:masterfrom
IjzerenHein:bugfix-android-regionchange
Nov 28, 2017
Merged

Added support for new Android camera movement APIs#1710
christopherdro merged 1 commit intoreact-native-maps:masterfrom
IjzerenHein:bugfix-android-regionchange

Conversation

@IjzerenHein
Copy link
Copy Markdown
Contributor

OnCameraChangeListener is deprecated and should no longer be used. This PR adds support for the new more powerful APIs and removes the old (quite hacky..) region detection code. This fixes various issues and paves the way for distinguishing between gestures and manual/programatic animations at the same time.

image
https://developers.google.com/android/reference/com/google/android/gms/maps/GoogleMap.OnCameraChangeListener

This PR fixes #1709 and I'm pretty sure it also fixes:

`OnCameraChangeListener` is deprecated and should no longer be used. This PR adds support for new more powerful APIs and removes the old hacky region detection code. This fixes various issues and paves the way for distinguishing between gestures and manual/programatic animations the same time.

https://developers.google.com/android/reference/com/google/android/gms/maps/GoogleMap.OnCameraChangeListener
@IjzerenHein
Copy link
Copy Markdown
Contributor Author

Any chance we can get this pulled?

@marano
Copy link
Copy Markdown

marano commented Nov 18, 2017

Thank you this is great! It's a shame its not merged yet.

@christopherdro christopherdro merged commit ae228ae into react-native-maps:master Nov 28, 2017
pinpong pushed a commit to pinpong/react-native-maps that referenced this pull request Feb 28, 2025
…#1710)

`OnCameraChangeListener` is deprecated and should no longer be used. This PR adds support for new more powerful APIs and removes the old hacky region detection code. This fixes various issues and paves the way for distinguishing between gestures and manual/programatic animations the same time.

https://developers.google.com/android/reference/com/google/android/gms/maps/GoogleMap.OnCameraChangeListener
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

onRegionChange is constantly called on Android after touching map

3 participants