Declined
Last Updated: 10 Feb 2014 10:18 by ADMIN
Rodney
Created on: 07 Feb 2014 17:07
Category: Kendo UI for jQuery
Type: Feature Request
1
You allow a method to Constrain the view's width when Pinching and Zooming
I'm using a Kendo Mobile View and I've set the data-zoom attribute to true ("data-zoom = true") so that my view can Pinch and Zoom. 

I would like an attribute that I can set to limit the size in which the Pinch and Zoom resizes the contents? I want to set a max and min size. 

I want to make my view so that it can zoom in but I want to constrain the view so that it doesn't get smaller than 100% of the viewport width. I like to set the min-width equal to the viewport width in some way. 

Any help would be greatly appreciated. 
1 comment
ADMIN
Telerik Admin
Posted on: 10 Feb 2014 10:18
'm afraid this is not supported out-of-the-box by any of the popular mobile platforms (iOS, Android) currently. Therefore, a universal solution for Kendo UI Mobile is not possible either.

You may consider utilizing the implementations presented in the stack overflow threads linked below:

http://stackoverflow.com/questions/10958624/how-to-set-minimum-and-maximum-zoom-scale-using-uipinchgesturerecognizer
http://stackoverflow.com/questions/5150642/max-min-scale-of-pinch-zoom-in-uipinchgesturerecognizer-iphone-ios

http://stackoverflow.com/questions/3813119/scale-limits-on-pinch-zoom-of-android