On iOS, the magnifier does not work. Setting the zoom level is not possible. So, detect if changing the zoom level is allowed. If not, or if the zoom range is not enough then scale the canvas so we have the zoom effect.
zoom property
iOS: { max: 2, min: 0.5 }
Chrome on desktop: undefined
Chrome on Android: { max: 10, min: 1, step: 0.1}
Useful links for when the Camera app was being developed.
On iOS, the magnifier does not work. Setting the zoom level is not possible. So, detect if changing the zoom level is allowed. If not, or if the zoom range is not enough then scale the canvas so we have the zoom effect. zoom property iOS: { max: 2, min: 0.5 } Chrome on desktop: undefined Chrome on Android: { max: 10, min: 1, step: 0.1}
Useful links for when the Camera app was being developed.