Class FeatureCollection.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • build

      public FeatureCollection build()
      Builds the FeatureCollection

      Returns:
      the FeatureCollection
    • withBbox

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

      public FeatureCollection.Builder withFeatures(List<Feature> features)
      Parameters:
      features - the list of features in the feature collection