Class RegionSelectionOptions.Builder

  • Enclosing class:
    RegionSelectionOptions

    public abstract static class RegionSelectionOptions.Builder
    extends java.lang.Object
    The Builder class in charge of constructing this class and setting the values accordingly.
    Since:
    0.2.0
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • startingBounds

        public abstract RegionSelectionOptions.Builder startingBounds​(@NonNull
                                                                      com.mapbox.mapboxsdk.geometry.LatLngBounds bounds)
        Define the map's starting camera position by providing a bounding box
        Parameters:
        bounds - the bounding box which is where the OfflineActivity initial map's camera position will be placed
        Returns:
        this builder for chaining options together
        Since:
        0.2.0
      • statingCameraPosition

        public abstract RegionSelectionOptions.Builder statingCameraPosition​(@NonNull
                                                                             com.mapbox.mapboxsdk.camera.CameraPosition cameraPosition)
        Define the map's starting camera position by providing a camera position.
        Parameters:
        cameraPosition - the camera position which is where the OfflineActivity initial map's camera position will be placed
        Returns:
        this builder for chaining options together
        Since:
        0.2.0