0

I have to get GoogleMap.getProjection().getVisibleRegion().latLngBounds

But when app is started, its values are all zero.

I tried to get this at onViewCreated, onActivityCreated and onStart of SupportMapFragment, but it doesn't work. When I can do it? Is there any callback function that notifies when it is ready?Any help would be greatly appreciated.

IntelliJ Amiya
  • 74,896
  • 15
  • 165
  • 198
Gimun Eom
  • 411
  • 5
  • 17
  • Did you check [this](http://stackoverflow.com/questions/14574839/google-maps-android-api-v2-getvisibleregion-returns-0)? – Poger Jul 23 '15 at 11:25

1 Answers1

0

You can add OnCameraChangeListener to your map.

Chinmoy Debnath
  • 2,814
  • 16
  • 20