This app is for demoing animating the car like uber from one position to another with preserving angle and smooth animation
Xcode 10.1+ Swift 4.2+
Replace ADD_YOUR_GOOGLE_API_KEY
in class AppDelegate.swift
from your actual google api key from Here
Once you have your app running in the simulator, select simulate locations in Xcode as follows
You will see nice moving car with uber like animation like below
Note: We are using the static path string for giving driving road location from A to B. For actual path use Google's direction api Here
Light Mode | Dark Mode |
---|---|
Pause and play
- Simulate the location on the simulator
- Press the pause button to pause car animation and play to resume the animation