osmdroid/osmdroid — pull request #51 by soggier (2014-07-21 16:34:23+00:00)
Title: Delay zoomToSpan() also, if either current span is not greater than 0.

This allows to call zoomToSpan() early, for example in onCreate(), while avoiding an infinite loop in MyMath.getNextSquareNumberAbove(diffNeeded), where diffNeeded is INFINITY because of division by zero (spans).