diff --git a/platform/android/src/native_map_view.cpp b/platform/android/src/native_map_view.cpp index 4634c2aec..17b7755a2 100755 --- a/platform/android/src/native_map_view.cpp +++ b/platform/android/src/native_map_view.cpp @@ -191,7 +191,10 @@ void NativeMapView::invalidate() { void NativeMapView::beforeRender() { mbgl::Log::Debug(mbgl::Event::Android, "NativeMapView::beforeRender()"); - // no-op + // this fixes the viewport resizing issue, + // but we are calling it every time. + // we should only call this when the resizeView / resizeFramebuffer is called. + glViewport(0,0,fbWidth,fbHeight); } void NativeMapView::afterRender() {