Native Livecode Pinch and Zoom

Ralph DiMola rdimola at evergreeninfo.net
Wed Jul 12 11:41:51 EDT 2017


I get pinch-and-zoom on both mobile platforms using the mobile browser control. My html expert has had to tweak a couple of html pages now and again to make it work. Other on-line pages don’t pinch-and-zoom but they also don’t pinch-and-zoom in Safari/Chrome either. I tried the browser widget and it is nice that you can use it in the IDE and Mobile but backed it out because the browser widget is missing "canretreat" property and "retreat" command.

Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net

-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Sannyasin Brahmanathaswami via use-livecode
Sent: Wednesday, July 12, 2017 10:40 AM
To: How LiveCode
Cc: Sannyasin Brahmanathaswami
Subject: Native Livecode Pinch and Zoom

It appears we won't get pinch and zoom in the browser widget on mobile. It's back to using a native LC interface for a big map adventure where the user can zoom into an area and then pinch back out

The use case is still the same: use a "Maha" = enormous/big SVG graphic that looks awesome and sharp at any zoom level

Hopefully, soon LC will support a native display of this.

In the meantime, before I go hacking away from ground zero, trying to trap gestures and changing the rect of the image object on the fly… I would be interested in any example of this that anyone has already done using native LC code.
The zoom of player to degrees is deprecated, and we are not seeing any alternatives in the dictionary.

There is an obscure something that I just found that only works on Mac and windows:

XPDFViewer_Zoom viewerName, {"width" | "fit" | "actual" | "in" | "out" | percent}

The magnify extension is only on desktop

Any hope for us on Mobile for pinch and zoom in and out?

BR


_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the Use-livecode mailing list