When first following a plane, zoom in if we are zoomed far out.

This commit is contained in:
Oliver Jowett 2015-01-22 16:14:32 +00:00
parent 3fd2032f49
commit d3537ec139

View file

@ -852,6 +852,8 @@ function selectPlaneByHex(hex) {
function toggleFollowSelected() {
FollowSelected = !FollowSelected;
refreshSelected();
if (FollowSelected && GoogleMap.getZoom() < 8)
GoogleMap.setZoom(8);
}
function resetMap() {