[android] #3245 Reverse Tilt Gesture

This commit is contained in:
Tobrun
2015-12-10 17:25:13 -08:00
parent f2b22666b0
commit 78691fa9e6

View File

@@ -2924,7 +2924,7 @@ public final class MapView extends FrameLayout {
// Get tilt value (scale and clamp)
double pitch = getTilt();
pitch += 0.1 * detector.getShovePixelsDelta();
pitch -= 0.1 * detector.getShovePixelsDelta();
pitch = Math.max(MINIMUM_TILT, Math.min(MAXIMUM_TILT, pitch));
// Tilt the map