ios-sdk-examples icon indicating copy to clipboard operation
ios-sdk-examples copied to clipboard

app lacking when drawing polyline while tracking user on mapbox

Open kanikadrgaur opened this issue 4 years ago • 0 comments

I am working on an app there I am drawing polyline with user tracking. I user MapBoxView and MGLPolylineFeature. But when tracing user with on delegate "didUpdate userLocation: MGLUserLocation" app starts lacking it shows delay when I drag map also while drawing. I walk around 20 minutes or more. Can any one please help.

Here is the process I follow..

on didUpdate userLocation: MGLUserLocation. I add user's location in an CLLocation array.. and then call it with timer to draw poly line.

kanikadrgaur avatar May 26 '21 06:05 kanikadrgaur