Viewport: fix initial values
This commit is contained in:
@@ -92,6 +92,7 @@ public class Viewport {
|
|||||||
mPos.scale = mMinScale;
|
mPos.scale = mMinScale;
|
||||||
mPos.x = 0.5;
|
mPos.x = 0.5;
|
||||||
mPos.y = 0.5;
|
mPos.y = 0.5;
|
||||||
|
mPos.zoomLevel = MIN_ZOOMLEVEL;
|
||||||
mPos.bearing = 0;
|
mPos.bearing = 0;
|
||||||
mPos.tilt = 0;
|
mPos.tilt = 0;
|
||||||
mPos.roll = 0;
|
mPos.roll = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user