add support for unrestricted min/maxZoom constructor values

broke out external function and added test

fixed linting