OeffiMapView: Minor fix of firstLocation.

This commit is contained in:
Andreas Schildbach 2018-11-09 09:30:46 +01:00
parent 8a18091c9b
commit 9a900a07bb

View file

@ -594,9 +594,9 @@ public class OeffiMapView extends MapView {
if (!points.isEmpty()) {
final BoundingBox boundingBox = BoundingBox.fromGeoPoints(points);
zoomToBoundingBox(boundingBox.increaseByScale(1.3f), !firstLocation);
}
firstLocation = false;
firstLocation = false;
}
}
private void showZoomControls() {