How to draw/implement continuous zoom/pan control (iOS and Android)

SiggoSiggo DEMember

I want to create a control that displays a mesh where I can continuously pan and zoom in. This is how I envision it:
I draw squares on an empty space with white background. As I zoom in at a certain size new squares are drawn and as I pan also. I know that each platform needs its own implementation.

I can draw the squares on a Canvas or UIView. Now an UIView has GestureRecognizers and a Canvas doesn't. What can I use for Android to draw on?

But the bigger question is: Is this the right direction I'm searching or is there something else much more suiting for my goal?

Sign In or Register to comment.