Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[android] #2805 - Integrating gesture with new get / set Tilt API ref…
Browse files Browse the repository at this point in the history
…actoring
  • Loading branch information
bleege committed Dec 3, 2015
1 parent d40d8e0 commit cdfdd86
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2934,11 +2934,11 @@ public boolean onShove(ShoveGestureDetector detector) {
mNativeMapView.cancelTransitions();

// Get rotate value
double pitch = mNativeMapView.getPitch();
double pitch = getTilt();
pitch += detector.getShovePixelsDelta();

// Tilt the map
mNativeMapView.setPitch(pitch);
setTilt(pitch, null);

return true;
}
Expand Down

0 comments on commit cdfdd86

Please sign in to comment.