ftp27
ftp27

Reputation: 903

To set point on the map in Codename One

In my app user must set point on the map and send coordinates to UI. In MapComponent i didn't find any callback function for this. How can I implement this function?

If this is not provided, are there any callback functions of the parent classes for this implementation?

Upvotes: 0

Views: 91

Answers (1)

Shai Almog
Shai Almog

Reputation: 52770

You can use the pointer events in the map or form to detect taps and add a layer to the map such as PointsLayer etc. to draw anything you want.

You might want to take a look at the native map support though, it does contain simplified coordinates like that.

Upvotes: 1

Related Questions