Location of the center of the map-fragment - Android Google Maps -


I have to get the location of the center of my map piece. Of course this is not the center of the screen. I want to do something every time when this place changes.

Whenever the user manages / scales, I need to place the center of my piece and do something with them.

So, how can I do this?

Thank you in advance for your help.

Enter the image details I implemented

  @ComeraChange (CameraPoszes arg0). {Log V ("Tag", "OnMe Change"); Mlatitude = arg0.target. Latitude; mg = arg0.target.longitude; log V ("tag", "onmera change" + mlatitude + "+ + +");}    

I think this should work:

  MMap.getCamer APosition (). Target    

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -