updating getPrecision() to handle null/undefined/empty zoom params