Pan around image and tap it

8 views
Skip to first unread message

Gareth Murfin

unread,
Aug 8, 2018, 12:09:32 AM8/8/18
to CodenameOne Discussions
I have quite a basic requirement for a map that will be supplied as a png that a user can pan around on and tap to make markers appear. Is there any example code or useful starting points for this out there? I know its a very simple case of making a canvas based component etc that you can tap but I thought maybe there is something that I can start with to make it even faster to develop.

Shai Almog

unread,
Aug 8, 2018, 12:32:38 AM8/8/18
to CodenameOne Discussions
There is ImageView which allows you to pan and zoom. I'm guessing you can just add the marker into the image object itself with a tap.
Reply all
Reply to author
Forward
0 new messages