Get user's step by step location when he moves on map

I want to get user’s location when user moves… like we have method “didupdate userlocation” in default iOS map. Do we have any option like this which will provide me step by step location of user? so that I can maintain array of location tracked by user.

Unfortunately, there is no built-in function in the iOS SDK, however, you can use CLLocationManager to receive user location updates, look at CLLocationManagerDelegate.
You can see how it is used with TomTom iOS SDK in the Time to leave tutorial look at the code here.

1 Like

U can save users location in a json and read it back later with google maps Poly Util Functions and also use Spherical Util Functions to get mileage and u can also do a Polyline Simplification i u want.