mirror of
https://gitlab.com/oeffi/oeffi.git
synced 2025-07-07 06:08:51 +00:00
OeffiMapView: Minor fix of firstLocation.
This commit is contained in:
parent
8a18091c9b
commit
9a900a07bb
1 changed files with 2 additions and 2 deletions
|
@ -594,10 +594,10 @@ public class OeffiMapView extends MapView {
|
||||||
if (!points.isEmpty()) {
|
if (!points.isEmpty()) {
|
||||||
final BoundingBox boundingBox = BoundingBox.fromGeoPoints(points);
|
final BoundingBox boundingBox = BoundingBox.fromGeoPoints(points);
|
||||||
zoomToBoundingBox(boundingBox.increaseByScale(1.3f), !firstLocation);
|
zoomToBoundingBox(boundingBox.increaseByScale(1.3f), !firstLocation);
|
||||||
}
|
|
||||||
|
|
||||||
firstLocation = false;
|
firstLocation = false;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void showZoomControls() {
|
private void showZoomControls() {
|
||||||
zoomControls.clearAnimation();
|
zoomControls.clearAnimation();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue