Implement scrolling and zooming

Hi!

I’m drawing a map (polygons and images) which is too big to put as one on the screen. So I want to make it scrollable and zoomable.

How do I do this? Do I just move and transform all my objects or is there a more elegant way for this?

There is the widget.newScrollView() that can be used for this purpose. You could also just put everything in a display.newGroup() and add your own scroll support to it.

Rob

There is the widget.newScrollView() that can be used for this purpose. You could also just put everything in a display.newGroup() and add your own scroll support to it.

Rob