Class GeomentPoiOptions

java.lang.Object
com.cercalia.sdk.model.geoment.GeomentPoiOptions

public final class GeomentPoiOptions extends Object
Options for fetching POI geometry.
  • Method Details

    • getPoic

      @NotNull public @NotNull String getPoic()
      Returns:
      Internal Cercalia ID for the POI.
    • getTolerance

      @Nullable public @Nullable Integer getTolerance()
      Returns:
      geometry simplification tolerance.
    • of

      @NotNull public static @NotNull GeomentPoiOptions of(@NotNull @NotNull String poic)
      Creates options for a POI by code.
      Parameters:
      poic - Internal Cercalia ID for the POI.
      Returns:
      a new GeomentPoiOptions instance.
    • of

      @NotNull public static @NotNull GeomentPoiOptions of(@NotNull @NotNull String poic, int tolerance)
      Creates options for a POI by code with tolerance.
      Parameters:
      poic - Internal Cercalia ID for the POI.
      tolerance - geometry simplification tolerance.
      Returns:
      a new GeomentPoiOptions instance.
    • builder

      @NotNull public static @NotNull GeomentPoiOptions.Builder builder(@NotNull @NotNull String poic)
      Parameters:
      poic - Internal Cercalia ID for the POI.
      Returns:
      a new builder for GeomentPoiOptions.