You need to use Projection
and VisibleRegion
classes in order to get visible LatLng region.
So your code would look something like:
LatLngBounds curScreen = googleMap.getProjection()
.getVisibleRegion().latLngBounds;
More Related Contents:
- How can I show current location on a Google Map on Android Marshmallow?
- Google Maps Android API v2 – Interactive InfoWindow (like in original android google maps)
- This app won’t run unless you update Google Play Services (via Bazaar)
- How to download Google Play Services in an Android emulator?
- Capture screen shot of GoogleMap Android API V2
- Replace getMap with getMapAsync
- How to draw interactive Polyline on route google maps v2 android
- Android map v2 zoom to show all the markers
- How do I know the map is ready to get used when using the SupportMapFragment?
- How do I draw a route, along an existing road, between two points?
- limit scrolling and zooming Google Maps Android API v2
- How to handle onTouch event for map in Google Map API v2?
- Android: automatically choose debug/release Maps v2 api key?
- How to animate marker in android map api V2?
- Android Google Maps API V2 Zoom to Current Location
- AndroidRuntime: FATAL EXCEPTION: androidmapsapi-ZoomTableManager
- Ensure that the “Google Maps Android API v2” is enabled. I am getting this error when I try to Implement Google Maps
- Android Maps API v2 draw circle
- Map Markers with text in Google Maps Android API v2
- How to draw dashed polyline with android google map sdk v2?
- Error: MapFragment cannot be cast to android.support.v4.app.Fragment
- SupportMapFragment.getmap() returns null
- How to hide “Navigation” and “GPS Pointer” buttons when I click the marker on the android google map
- Google Maps Android API v2 – Sample Code crashes
- Google map for android my location custom button
- How can I handle map move end using Google Maps for Android V2?
- Google Maps V2 – Error inflating class Fragment
- Setting a LongClickListener on a map Marker
- code to add markers to map using android google maps v2
- Can I draw a curved dashed line in Google Maps Android?