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

sonata admin - how to add ManyToOne property field in configureListfield in sonataAdmin -

wpf - ControlTemplate with changes for every class -

sql - Return Function using Cursor -