Hi,
a possible solution for using pinch to zoom is:
map.addEventListener(TransformGestureEvent.GESTURE_ZOOM, pinchZoom);
private function pinchZoom(e:TransformGestureEvent):void
{
if( e.scaleX < 1 )
map.setZoom(map.getZoom() -1 , true);
else
map.setZoom(map.getZoom() +1 , true);
}
On 4 Nov, 00:13, omgnoseat <[email protected]> wrote:
> Hello there,
> I'm planning on creating a google maps app for android devices using
> air for android. There seem to be a couple of performance issues, but
> that isn't what my question is about right now.
> I've searched through the documentation but couldn't find anything
> usefull. Is there an option to enable pinch to zoom? I know there is
> for the javascript API, but i'm having a hard time finding it for the
> flash API.
> Thanks in advance
--
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.