How to get address when clicking on map

Hello everyone, I am currently building an application that allows users to enter addresses. The application will display a map around the area the user enters, then the user will select a marker right on the map by clicking the mouse, the address data will be updated accurately according to the address selected in the database and that marker will be displayed on the map.
Because there are many cases where users enter the correct address but the marker on the map is misaligned or erroneous, the user needs to confirm again.

I tried using event marker is clicked, but it doesn’t meet my requirements, or maybe I didn’t do it correctly.
image

How to do it?
Any ideas, answers are appreciated. Thanks a lot

Hey @cosy.inc. I think there is no clicking to create a marker (at least not in the built-in map element). However, I have created something like below in the past for another question. The map can simply give you the center coordinate and you can create a marker in the center if you want when something is clicked. See the reply below:

1 Like

Hi @hergin , thank you very much for your feedback. I will try the way you suggested. Have a good day!

1 Like