How to create scrollable and zoom-in/out area (map) without of use 3th party tools (like Lime)

Hello all, its my first time question on this forum, and its about next:


Sorry for the clumsy figure=)

I’m sure this has already been implemented, does not want to use third-party components (paid).
The idea is to have a viewport, and the ability to move it (touch and drag) all over the map display (the main area of ??the map is out of view), as well as zoom in and out at this map (known as a bird’s eye view) - ability to view all scene (map) or zoom-in part of it.

I’ll be glad to any suggestions and discussions on this topic
Thanks in advance! [import]uid: 75138 topic_id: 23227 reply_id: 323227[/import]

I believe camera.lua (made by the creator of Lime, who is wonderful) is available in sample code. I haven’t used it but I believe it may help.

There’s also the parallax sample which you could modify for zoom :slight_smile: [import]uid: 52491 topic_id: 23227 reply_id: 92950[/import]

Thank you for your reply! For me it is not easy, try to understand this … [import]uid: 75138 topic_id: 23227 reply_id: 94277[/import]

You would need to learn more to make it easier to understand, which is why the parallax sample would be helpful for you.

It covers dragging the map around, seeing different parts, etc. You can learn from it and when confident move on and add zoom.

:slight_smile: [import]uid: 52491 topic_id: 23227 reply_id: 94403[/import]