Reputation: 5414
I'm implementing google maps sdk in my app.
However, the build in map animation is not even close to be like the animation which can be seen in Google Maps application.
The animation in Google Maps application is very smooth and modest. The build in map animation is very jumpy and aggressive.
The animation code is:
let newPosition = GMSCameraPosition.camera(withTarget: location, zoom: self.defaultZoom)
self.mapView.animate(to: newPosition)
Upvotes: 1
Views: 186