setZoomRatio

open override fun setZoomRatio(zoomRatio: Float)

Set zoom by ratio. If the ratio is smaller than minimum zoom ratio or larger than maximum available zoom ratio, the ratio will be revised to the available range.