When my SupportMapFragment onCreateView() method is called, I read the map's
getProjection().getVisibleRegion().latLngBounds.northeast.x
and
getProjection().getVisibleRegion().latLngBounds.southwest.y
The first time I launch the app (in portrait mode), I get x=720 and y=1230. However, after changing the orientation to landscape I'm seeing the same values again.
Going back to portrait mode yields x=1280 and y=670 (which is what I'd expect from landscape), and going back to landscape gives the first numbers again.
It's like the projection is always one orientation change behind.
Any idea what's wrong, and how to fix it?