code: public static double getToleranceDistance(LatLng latLng, View view, GoogleMap map, float screenClickPercentage) {
  
          LatLngBoundingBox latLngBoundingBox = buildClickLatLngBoundingBox(latLng, view, map, screenClickPercentage);
  
          double longitudeDistance = SphericalUtil.computeDistanceBetween(latLngBoundingBox.getLeftCoordinate(), latLngBoundingBox.getRightCoordinate());
          double latitudeDistance = SphericalUtil.computeDistanceBetween(latLngBoundingBox.getDownCoordinate(), latLngBoundingBox.getUpCoordinate());
  
          double distance = Math.max(longitudeDistance, latitudeDistance);
  
          return distance;
      }
docs: Get the allowable tolerance distance in meters from the click location on the map view and map with the screen percentage tolerance.
  
  @param latLng                click location
  @param view                  map view
  @param map                   map
  @param screenClickPercentage screen click percentage between 0.0 and 1.0 for how close a feature
  on the screen must be to be included in a click query
  @return tolerance distance in meters