Help needed for a disaster relief application for Valencia - Select and save points on the map

I’m creating an app in Glide to help with the natural disaster in Valencia. I want users to be able to select a point on the map and, upon pressing a button, save this information (latitude and longitude) to a database. I’ve been struggling to implement this in Glide. Any suggestions or guidance?