Get Coordinates when click on my location

Hi,
I'm using google map plugin. I want to get coordinates (long/lat) when I click on my location button.
when camera move to my exact location then I want to get coordinates. I'm struggling to achieve this. Can anyone suggest me what should I do ?

Its urgent.
thanks

enter image description here

Solution

Have you considered using the Location plugin from the Forge?

https://www.outsystems.com/forge/component-overview/1395/location-plugin

That would allow you to get the device's current location, and use that to set your map location, rather than trying to do it all through the map alone.

Solution