Commit 6f144887 authored by Evan W. Patton's avatar Evan W. Patton Committed by Susan Rati Lane

Fix handling of Map.ZoomLevel when animating changes

Change-Id: If652e6759e95e47884a1324f8dfd203d8b15e65a
parent ac7c0e4c
...@@ -329,7 +329,9 @@ class NativeOpenStreetMapController implements MapController, MapListener { ...@@ -329,7 +329,9 @@ class NativeOpenStreetMapController implements MapController, MapListener {
@Override @Override
public int getZoom() { public int getZoom() {
return (int) view.getZoomLevel(false); // We pass pending as true here so that when a user sets ZoomLevel
// and then reads it back it should be reflected.
return (int) view.getZoomLevel(true);
} }
@Override @Override
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment