Re: "Google maps"-like zooming of NSScrollView's content view
Re: "Google maps"-like zooming of NSScrollView's content view
- Subject: Re: "Google maps"-like zooming of NSScrollView's content view
- From: Alex Zavatone <email@hidden>
- Date: Sun, 01 Apr 2012 13:00:33 -0400
There is code from Paul Hegarty's class on UImageView that works really easily with the pinch gesture.
I'll look to see if I have any code handy.
On Apr 1, 2012, at 12:42 PM, Nick wrote:
> This is a very customized application, it is not intended for public use.
> Just wondering if someone could help me with the math to create this
> zooming effect..
>
> Alex Zavatone <email@hidden> wrote:
>> Dave, while I can see that you may want the mouse wheel to navigate the current map, does it not make more sense to allow the mouse wheel to zoom in or out and then hold the mouse button down and drag left and right to pan?
>>
>> If you use the mouse wheel to pan, what is naturally your zoom control?
>>
>> On Apr 1, 2012, at 11:52 AM, Dave Fernandes wrote:
>>
>>> Just a comment about the UI… I find this behavior horribly counter-intuitive. I always end up zooming when I mean to pan.
>>
- Alex Zavatone
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden