MapPosition: fix initial values

This commit is contained in:
Emux
2018-01-26 15:47:38 +02:00
parent 08c20daef2
commit 4d7078e861

View File

@@ -58,8 +58,9 @@ public class MapPosition {
this.scale = 1; this.scale = 1;
this.x = 0.5; this.x = 0.5;
this.y = 0.5; this.y = 0.5;
this.zoomLevel = 1; this.zoomLevel = 0;
this.bearing = 0; this.bearing = 0;
this.tilt = 0;
} }
public MapPosition(double latitude, double longitude, double scale) { public MapPosition(double latitude, double longitude, double scale) {