code: private double createZoom(RouteInformation routeInformation) {
      CameraPosition position = createCameraPosition(routeInformation.location(), routeInformation.routeProgress());
      if (position.zoom > MAX_CAMERA_ZOOM) {
        return MAX_CAMERA_ZOOM;
      } else if (position.zoom < MIN_CAMERA_ZOOM) {
        return MIN_CAMERA_ZOOM;
      }
      return position.zoom;
    }
docs: Creates a zoom value based on the result of {@link MapboxMap#getCameraForLatLngBounds(LatLngBounds, int[])}.
  <p>
  0 zoom is the world view, while 22 (default max threshold) is the closest you can position
  the camera to the map.
  
  @param routeInformation for current location and progress
  @return zoom within set min / max bounds