How to find the markers and markers positions (Lat,Lan)
on Google map while moving the camera position.?
Using oncamera change listener you can get latitude and longitude
map.setOnCameraChangeListener(new OnCameraChangeListener() {
@Override
public void onCameraChange(CameraPosition position) {
LatLng latvalue = position.target;
double lat = latvalue.latitude;
double lng = latvalue.longitude;
}
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With