The solution can be found here
Android google maps get location/coordinations/geopoint on longpress/longclick
-
02-12-2021 - |
Question
I have spent lot of time by getting latitude and longitude as a geopoint when user long-clicks the google map. I found one solution, which I share as answer. If anybody has other or better, please share it too.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow