Keep Map Target While Zooming To Show All Markers

Recently an app I develop needed to keep the map center while zooming in/out to show all markers dropped on the map. It’s not a particularly difficult thing to do, but it took a moments thought. The example is for Android, but it works the same way on iOS etc.