cycle

fun cycle(maxZoomFactor: Float? = null): DoubleClickToZoomListener

Cycles between maxZoomFactor and the minimum zoom factor on double clicks. When maxZoomFactor is null, ZoomSpec.maximum is used.