BirjuVachhani/locus-android

Application running slow when using startLocationUpdate

Closed this issue · 2 comments

Application running slow when using startLocationUpdate to update my marker when new location is received. The UI lags as more location update happens.

Maybe you need to set location interval to reduce location updates. Maybe this would work for you.

Locus.configure { 
    this.request { 
        this.interval = 3000
    }
}

Feel free to reopen if this doesn't work for you.