com.google.android.gms.maps.model.VisibleRegion

Here are the examples of the java api class com.google.android.gms.maps.model.VisibleRegion taken from open source projects.

1. GoogleMapFragment#getVisibleMapArea()

Project: Tower
Source File: GoogleMapFragment.java
View license
public VisibleMapArea getVisibleMapArea() {
    final GoogleMap map = getMap();
    if (map == null)
        return null;
    final VisibleRegion mapRegion = map.getProjection().getVisibleRegion();
    return new VisibleMapArea(DroneHelper.LatLngToCoord(mapRegion.farLeft), DroneHelper.LatLngToCoord(mapRegion.nearLeft), DroneHelper.LatLngToCoord(mapRegion.nearRight), DroneHelper.LatLngToCoord(mapRegion.farRight));
}