Map: simplify updateMap

This commit is contained in:
Emux
2019-02-21 13:07:24 +02:00
parent 31077cb637
commit 7cfbe1c115
4 changed files with 27 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
/*
* Copyright 2012 Hannes Janetzek
* Copyright 2016-2018 devemux86
* Copyright 2016-2019 devemux86
* Copyright 2018-2019 Gustl22
*
* This file is part of the OpenScienceMap project (http://www.opensciencemap.org).
@@ -234,6 +234,11 @@ public class MapView extends GLSurfaceView {
}
};
@Override
public void updateMap() {
updateMap(true);
}
@Override
public void updateMap(boolean redraw) {
synchronized (mRedrawCb) {