-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[android] #4326 - using the camera API vs getCameraPosition #4405
[android] #4326 - using the camera API vs getCameraPosition #4405
Conversation
…turn same output
Unit tests don't approve my changes, I now remember why I initially saved the |
All right success, got both logic and unit tests aligned correctly:
Above you can see one line the update to onCameraChangeListener. |
Looking at this now. Build fails on device due to #4175 being fixed after this branch. Will rebase and try again. |
I tested it out by adding an extra Log statement to the MainActivity.java locally that prints out the 03-21 16:50:07.156 5875-5875/com.mapbox.mapboxsdk.testapp I/ScaleGestureDetector: TwScaleGestureDetector
03-21 16:50:07.206 5875-5875/com.mapbox.mapboxsdk.testapp I/MainActivity: OnCameraChange : Target: LatLng [longitude=8.58682048174606, latitude=6.799765818497882, altitude=0.0], Zoom:1.126704454421997, Bearing:-0.0, Tilt:0.0
03-21 16:50:07.206 5875-5875/com.mapbox.mapboxsdk.testapp I/MainActivity: OnCameraChange (Map) : Target: LatLng [longitude=8.58682048174606, latitude=6.799765818497882, altitude=0.0], Zoom:1.126704454421997, Bearing:-0.0, Tilt:0.0
03-21 16:50:07.516 5875-5875/com.mapbox.mapboxsdk.testapp I/MainActivity: OnCameraChange : Target: LatLng [longitude=11.747702808721641, latitude=30.420113153936104, altitude=0.0], Zoom:2.126704454421997, Bearing:-0.0, Tilt:0.0
03-21 16:50:07.516 5875-5875/com.mapbox.mapboxsdk.testapp I/MainActivity: OnCameraChange (Map) : Target: LatLng [longitude=11.747702808721641, latitude=30.420113153936104, altitude=0.0], Zoom:2.126704454421997, Bearing:-0.0, Tilt:0.0 Next step is to merge into |
Rebased and merged on to /cc @jfirebaugh |
closes #4326
cc @bleege @zugaldia