add maxZoom and minZoom