Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
PhoneGap zoom-in and zoom-out (Pinching) on Google map
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
u me  
View profile  
 More options Jun 23 2012, 3:48 pm
From: u me <me.u...@gmail.com>
Date: Sat, 23 Jun 2012 12:48:38 -0700 (PDT)
Local: Sat, Jun 23 2012 3:48 pm
Subject: PhoneGap zoom-in and zoom-out (Pinching) on Google map

Hi All,

Phonagap + jqurey mobile using i am developing a google map.
in device map is working fine using zoomin '+' and zoomout '-' Button. but
i need to develop my application which will use the 2 finger touch
(pinching)
for zoom-in and zoom-out.

is PhoneGap  provides any Api for (pinching) zoomin and zoomout.
if anyone implemented please Help me...

Thank you
Umesh lakka


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Philipp Austermann  
View profile  
 More options Jun 24 2012, 1:47 am
From: Philipp Austermann <austerm...@klimagipfel.de>
Date: Sun, 24 Jun 2012 07:47:44 +0200
Local: Sun, Jun 24 2012 1:47 am
Subject: Re: [PhoneGap] PhoneGap zoom-in and zoom-out (Pinching) on Google map
Hi,

you didn't specify what phone and OS you are testing on, but if i may
take the guess it's an android 2.x device?

The stock browser of these doesn't generate the multitouch gestures in
javascript. Phonegap doesn't fix this (yet ?).

Please have a go at
https://github.com/Philzen/webview-multitouch-polyfill, which is still
rather alpha, but the current version successfully re-enables the
notorious pinch-zoom on OSM & google maps on my phone.

Feel welcome to report your experiences with your own phone and add to
the Device List on the Wiki:
https://github.com/Philzen/webview-multitouch-polyfill/wiki (or file a
bug) - every bit of feedback will help the project.

Cheers - Phil

Am 23.06.2012 21:48, schrieb u me:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Philipp Austermann  
View profile   Translate to Translated (View Original)
 More options Jun 27 2012, 12:23 am
From: Philipp Austermann <austerm...@klimagipfel.de>
Date: Wed, 27 Jun 2012 06:23:32 +0200
Local: Wed, Jun 27 2012 12:23 am
Subject: Re: [PhoneGap] PhoneGap zoom-in and zoom-out (Pinching) on Google map

Hey u me,

have you had a chance to try the multitouch polyfill?

In the meanwhile i was able to build a phonegap-compatible version,
usage instructions may be found on
https://github.com/Philzen/webview-multitouch-polyfill/
<https://github.com/Philzen/webview-multitouch-polyfill/wiki>

If you do, please please report your success or problems and on the wiki
or the issues tracker, we really need all the feedback we can get. Cheers!

Am 24.06.2012 21:13, schrieb u me:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Melvin K.  
View profile  
 More options Jan 27, 8:14 pm
From: "Melvin K." <robus...@gmail.com>
Date: Sun, 27 Jan 2013 17:14:28 -0800 (PST)
Local: Sun, Jan 27 2013 8:14 pm
Subject: Re: [PhoneGap] PhoneGap zoom-in and zoom-out (Pinching) on Google map

Hi Phil,

I just came across this thread as I was searching for solutions to the fact
that the pinch-zoom gesture seems to be terribly implemented in Android
Webviews...not just Android 2.X, but it's awful on my 4.0.3 device too.

I'm trying to get a decent pinch-zoom on a google map in my phonegap
project. While the gesture is indeed supported in the Android 4 webview
natively, the implementation is just not good. When I zoom out, about half
the time I get thrown to a much father-out zoom level and much farther
northwest than expected. It makes using pinch-zoom on maps unusable.

I found a blog post about google maps in webviews in general, with the
following demo: http://www.svennerberg.com/examples/mobile-map/ . Viewing
that on my 4.0.3 phone, it exhibits exactly the same buggy pinch-zoom that
I observed in my own app.

So, my question is.... Can your WMP solution be used with Android 4+ phones
to replace the buggy native pinch-zoom action? I see in WebClient.java
where you build the view conditional on the Android SDK number... Can that
just be changed? Any issues you can think of?

Thanks!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »