Video thumbnail for #JetpackCompose, #JetpackGoogleMaps, Fetch Current Location Form the Maps while moving the camera

#JetpackCompose, #JetpackGoogleMaps, Fetch Current Location Form the Maps while moving the camera

Sep 16, 2024
rrtutor_me Logo

rrtutor_me

Get current location of the Camera from The Google Maps.When we move the maps camera will also moves and based on camera position we can get the current location of the camera and we can set marker on that position. To get camera current position we add CameraIdleListener to the map and on idle state we will fetch the current position of the Map and get lat,longs from this position and show in the Textfield https://rrtutors.com/tutorials/Get-Current-Location-from-Google-Maps-While-Moving-with-Jetpack-Compose