Class PlacePickerOptions.Builder

java.lang.Object
com.trimblemaps.mapsdk.plugins.places.picker.model.PlacePickerOptions.Builder
Enclosing class:
PlacePickerOptions

public abstract static class PlacePickerOptions.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • toolbarColor

      public abstract PlacePickerOptions.Builder toolbarColor(@ColorInt Integer toolbarColor)
    • language

      public abstract PlacePickerOptions.Builder language(String language)
    • startingBounds

      public abstract PlacePickerOptions.Builder startingBounds(@NonNull com.trimblemaps.mapsdk.geometry.LatLngBounds bounds)
    • statingCameraPosition

      public abstract PlacePickerOptions.Builder statingCameraPosition(@NonNull com.trimblemaps.mapsdk.camera.CameraPosition cameraPosition)
    • includeReverseGeocode

      public abstract PlacePickerOptions.Builder includeReverseGeocode(boolean includeReverseGeocode)
      Determine whether to include a bottom sheet in the PlacePickerActivity to display geocoding information associated with coordinates at the center of the map. A new geocoding call is made every time the map is moved when true is passed through includeReverseGeocode().
      Parameters:
      includeReverseGeocode - whether or not to make a reverse geocoding call to retrieve and display information associated with the picked location's coordinates. Defaults to true.
      Returns:
      this builder instance for chaining options together
    • includeDeviceLocationButton

      public abstract PlacePickerOptions.Builder includeDeviceLocationButton(boolean includeDeviceLocationButton)
      Determine whether an Android-system Floating Action Button is included in the PlacePickerActivity UI. Clicking on this Floating Action Button will move the map camera to the device's location. False is the default if this method isn't used in building the PlacePickerOptions object.
      Parameters:
      includeDeviceLocationButton -
      Returns:
      this builder instance for chaining options together
    • build

      public abstract PlacePickerOptions build()