Class Polygon.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • build

      public Polygon build()
      Build the Polygon geometry
      Returns:
      the Polygon
    • withBbox

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

      public Polygon.Builder withCoordinates(List<List<List<Double>>> coordinates)
      Parameters:
      coordinates - the coordinate of Polygon geometry; for meaning of coordinates see https://developer.here.com/documentation/data-client-library/dev_guide/client/publish-data.html#interactive-layer-coords