Permalink
Browse files

Fix handling of Map.ZoomLevel when animating changes

Change-Id: If652e6759e95e47884a1324f8dfd203d8b15e65a
  • Loading branch information...
ewpatton authored and SusanRatiLane committed Dec 2, 2018
1 parent ac7c0e4 commit 6f144887abd7be4bb78714720d8df343726890fa
@@ -329,7 +329,9 @@ public void setZoom(int zoom) {

@Override
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

0 comments on commit 6f14488

Please sign in to comment.