You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, June 7th 2012, 1:05pm

Multitouch zoom for Android and Windows 7 devices

I have added a new swf plugin to the fov_plugins package that enables multitouch ("pinch") zooming on Windows 7 and Android based devices supporting multitouch. Just include the plugin in your xml, and multitouch zoom starts working magically on supported devices.

Quoting Klaus from a different thread:
Hi,
the reason for this is still the Android Flashplayer itself - it still doesn't support Multi-Touch events with more than 1 finger,
krpano itself can't change that,

I found that while it is true that the Flashplayer (and Air) for Android does not report multitouch gestures, it is possible to capture each individual touchpoint. So instead of relying on the zoom-gesture, my plugin tracks touch points and calculates the pinch "scale" when two or more fingers are used.

I have tested the plugin on both an Android device (Android 2.3.6, Flash Player 11) and a Windows 7 touch-enabled TabletPC. It probably also works on multitouch touchpads on the Mac.

The multitouch.swf file and its sources are available as part of the krpano_fovplugins package on github.

Enjoy

This post has been edited 2 times, last edit by "ahoeben" (Jun 7th 2012, 1:56pm)


Tuur

Sage

Posts: 3,323

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

2

Thursday, June 7th 2012, 1:53pm

hai ahoeben,

when i download the collection from github then the example.html's don't show anything.
i'll have a look why but maybe good to know.

Cheers
Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

3

Thursday, June 7th 2012, 1:59pm

Updating the pages on github didn't go very smoothly, so you might have seen me fumble.

The example is intentionally left at a preview-grid. All that is exciting about the example is that pinching works on multitouch devices. If you don't have either a multitouch display attached to a Windows 7 computer, or an Android devices which supports Flash, there's nothing here to see.

4

Thursday, June 7th 2012, 2:19pm

Somewhere between testing and cleaning up the plugin, I must have broken something on the Android side of things.
I'll be right back.

Update: Hmm... bad news. I had been testing the plugin inside an AIR app, and it works great. However, it seems that the Flash Player inside the Android browser does not report multiple touchpoints. So the plugin will not work in the browser at this point :-(

This post has been edited 1 times, last edit by "ahoeben" (Jun 7th 2012, 2:53pm)


Hellkeeper

Intermediate

Posts: 158

Location: St. Johann in Tirol

  • Send private message

5

Wednesday, June 13th 2012, 4:50pm

thx for this great plugin!!! We were looking for multitouch (on PC! ;-)) for krpano quite a long time ...

Just implemented it on http://www.gpix.at and it's working like a charm on our MT-Screen! ;-)
Andreas Schnederle-Wagner
Rundblick GmbH / Gigapixel aus Österreich
https://www.rundblick.at/
https://www.gpix.at

6

Tuesday, April 9th 2013, 11:04am

zoom pinch map

hi ahoeben,

many tx for your great fieldOfView Plugins!

I had been testing your "multitouch" plugin in Windows8 and IE10, in a multitouch screen, and i'm happy to tell you that it work great;
but., i use a template with "bingmaps plugin" and when i try to pinch in the map area, the zoom work in the
"panorama image" back layer, and not in the map layer instead;

now, i don't know if you can help me,,but i would like to have suggestions in the possibility to
zoom the map with pinch multigesture
?

thank you very much
Marco

sorry for english:)

7

Tuesday, April 9th 2013, 7:55pm

Hi,

just as note - for multitouch usage I would recommend using the HTML5 version (with krpano 1.16) - there multi-touch will work for the pano and the map.

Best regards,
Klaus

8

Wednesday, April 10th 2013, 3:35pm

Hi Klaus,
tx for your note;

The mutitouch plugin is created more specifically for "pano area" or would be work in the "map area" (bing map plugin) too?
any suggestions?

tx
marco

This post has been edited 1 times, last edit by "Marcot" (Jun 10th 2013, 6:47pm)


9

Monday, June 10th 2013, 6:52pm

KP 1.16 multitouch

hi Klaus,
I had been testing "bingmaps plugin" in Windows8 in different browser, in a
multitouch screen (krpano 1.16):

-the pinch map ( 1 point touch) work great
-the zoom map (2 point multitouch) do not work

any solution?


thank you very much

Marco

10

Monday, June 10th 2013, 8:18pm

Hi,

use HTML5 - there multitouch is supported.

Best regards,
Klaus

11

Tuesday, June 11th 2013, 3:51pm

bug

I've used an HTML5 index file!

HTML: no pinch, no zoom
HTML5: pinch work, zoom not work

may be it can be a bug due to the use of "multitouch.swf" plugin;
i need to test witouth this plugin.

tx
Marco