mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-02 09:33:06 +02:00
Fix the issue http://code.google.com/p/mytracks/issues/detail?id=1198
This commit is contained in:
@@ -214,8 +214,8 @@ public class MapOverlay {
|
||||
synchronized (locations) {
|
||||
// Merge pendingLocations with locations
|
||||
int newLocations = pendingLocations.drainTo(locations);
|
||||
boolean needReload = reload || trackPath.updateState();
|
||||
if (needReload) {
|
||||
boolean isPathUpdate = trackPath.updateState();
|
||||
if (reload || isPathUpdate) {
|
||||
googleMap.clear();
|
||||
paths.clear();
|
||||
trackPath.updatePath(googleMap, paths, 0, locations);
|
||||
|
||||
Reference in New Issue
Block a user