google maps diameterToZoom: handle very small diameters (e.g. 0)

otherwise a diameter of 0 returned a zoom value of Infinity