Class GeometryCollection.Builder

java.lang.Object
com.here.platform.data.client.model.geojson.GeometryCollection.Builder
Enclosing class:
GeometryCollection

public static final class GeometryCollection.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public GeometryCollection build()
      Builds the GeometryCollection geometry type
      Returns:
      the GeometryCollection
    • withBbox

      public GeometryCollection.Builder withBbox(List<Double> bbox)
      Parameters:
      bbox - the bounding box of the GeometryCollection; for meaning of bbox coordinates see https://developer.here.com/documentation/data-client-library/dev_guide/client/publish-data.html#interactive-layer-coords
    • withGeometries

      public GeometryCollection.Builder withGeometries(List<GeometryItem> geometries)
      Parameters:
      geometries - the list of geometries