make Viewport.MAX_TILT public
This commit is contained in:
parent
c6b27aadf0
commit
106b45f0c4
@ -142,6 +142,7 @@ public class MapAnimator {
|
||||
mDeltaPos.angle += 360;
|
||||
|
||||
mDeltaPos.tilt = mapPosition.tilt - mStartPos.tilt;
|
||||
mDeltaPos.tilt = clamp(mDeltaPos.tilt, 0, Viewport.MAX_TILT);
|
||||
|
||||
mState = ANIM_MOVE | ANIM_SCALE | ANIM_ROTATE | ANIM_TILT;
|
||||
|
||||
|
@ -42,7 +42,7 @@ public class Viewport {
|
||||
public final static double MAX_SCALE = (1 << MAX_ZOOMLEVEL);
|
||||
public final static double MIN_SCALE = (1 << MIN_ZOOMLEVEL);
|
||||
|
||||
private final static float MAX_TILT = 65;
|
||||
public final static float MAX_TILT = 65;
|
||||
|
||||
private final MapPosition mPos = new MapPosition();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user