private GeoRect getViewPortGeoRect() { LatLngBounds viewPortBounds = googleMap.getProjection().getVisibleRegion().latLngBounds; LatLng tl = new LatLng(viewPortBounds.northeast.latitude, viewPortBounds.southwest.longitude); LatLng br = new LatLng(viewPortBounds.southwest.latitude, viewPortBounds.northeast.longitude); return new GeoRect(tl, br); }
@Override public Projection getProjection() { return googleMap.getProjection(); }