I am using the below. It works ok right now but I am looking at
tweaking it.
map.addEventListener(TransformGestureEvent.GESTURE_ZOOM, pinchZoom);
function pinchZoom(e:TransformGestureEvent):void
{
if( e.scaleX < 1 )
map.setZoom(map.getZoom() -0.2 ,
true);
else
map.setZoom(map.getZoom() +0.1 ,
true);
}
On Jun 22, 11:01 am, Brian Burnette <[email protected]> wrote:
> How did you get pinch to zoom working?
>
> On Jun 20, 10:04 pm, MOLA <[email protected]> wrote:
>
>
>
>
>
>
>
> > I am fairly new to the Google Maps API in Flash and was able to get pinch
> > to zoom working. I am trying to get rotate working using the rotate gesture
> > but can't seem to find anything that helps. Are there any sample
> > functions for multitouch?
>
> > Thanks!
--
You received this message because you are subscribed to the Google Groups
"Google Maps API For Flash" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-api-for-flash?hl=en.