diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2015-04-23 11:11:12 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-04-28 14:32:24 -0400 |
commit | 230027e5140a8aa3c6cb24ddf3f5aee20506ac8f (patch) | |
tree | 979fbd2cd84fedbb1bdb04c3968fafb1264264f9 /android/cpp/jni.cpp | |
parent | a625ba8a0976ef8417a2609700187c5633be2c58 (diff) | |
download | qtlocation-mapboxgl-230027e5140a8aa3c6cb24ddf3f5aee20506ac8f.tar.gz |
Resize view from map thread
Diffstat (limited to 'android/cpp/jni.cpp')
-rw-r--r-- | android/cpp/jni.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/cpp/jni.cpp b/android/cpp/jni.cpp index 188a1aee0d..2c7e757783 100644 --- a/android/cpp/jni.cpp +++ b/android/cpp/jni.cpp @@ -290,7 +290,7 @@ void JNICALL nativeResize(JNIEnv *env, jobject obj, jlong nativeMapViewPtr, jint assert(fbWidth <= UINT16_MAX); assert(fbHeight <= UINT16_MAX); NativeMapView *nativeMapView = reinterpret_cast<NativeMapView *>(nativeMapViewPtr); - nativeMapView->resize(width, height, ratio, fbWidth, fbHeight); + nativeMapView->getMap().resize(width, height, ratio); } void JNICALL nativeRemoveClass(JNIEnv *env, jobject obj, jlong nativeMapViewPtr, jstring clazz) { |