BZ-9036: add viewport radius calculation that doesn't depend on a
goog.blah object