XYZLayer: improved maxZoom and various parameters