Set maxZoom from attrs