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

Commit

Permalink
[android] Use jni.hpp low-level wrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
jfirebaugh committed Mar 4, 2016
1 parent 068998c commit dbffe1d
Show file tree
Hide file tree
Showing 2 changed files with 718 additions and 2,050 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ public void setBearing(double degrees, long duration) {
}

public void setBearing(double degrees, double cx, double cy) {
nativeSetBearing(mNativeMapViewPtr, degrees, cx, cy);
nativeSetBearingXY(mNativeMapViewPtr, degrees, cx, cy);
}

public double getBearing() {
Expand Down Expand Up @@ -618,8 +618,8 @@ private native void nativeRotateBy(long nativeMapViewPtr, double sx,
private native void nativeSetBearing(long nativeMapViewPtr, double degrees,
long duration);

private native void nativeSetBearing(long nativeMapViewPtr, double degrees,
double cx, double cy);
private native void nativeSetBearingXY(long nativeMapViewPtr, double degrees,
double cx, double cy);

private native double nativeGetBearing(long nativeMapViewPtr);

Expand Down
Loading

0 comments on commit dbffe1d

Please sign in to comment.