I'm developing android app and I'm tracking user movement. I want to animate the camera when user moves (on every onLocationChange call). Firstly I was doing it like that and it was working fine:
map.moveCamera(CameraUpdateFactory.newLatLng(new LatLng(location
.getLatitude(), location.getLongitude())));
Here is a screenshot of the screen when using this snippet:
But as you can see it's not an animation, so I wrote this:
CameraPosition cameraPosition = new CameraPosition.Builder()
.zoom(zoom)
.target(new LatLng(location.getLatitude(), location
.getLongitude())).build();
map.animateCamera(CameraUpdateFactory.newCameraPosition(cameraPosition));
But it's not working fine, map is moving with animation but streets are blurred and streets' names are not visible (look at the screenshot):
I was also trying animation without zoom - same result. Map gets clear only after when I press zoom buttons however some points and routes are still blurred. So any ideas how to solve this? Thanks in advance!