Offseting the center of the MapFragment for an animation moving both the target lat/lng and the zoom level
问题 I've got a UI that has a MapFragment with a transparent View overlaid on top of it. The map takes up the entire screen, whereas the View is just the left third of the screen. As a result, the default "center" of the map is off. When someone clicks on a marker, I want to center that marker in the wholly visible area of the MapFragment (not the center of the MapFragment itself). Since this is hard to describe with words, let me use a few pictures. Suppose this is how my UI looks: When the user