Class PoiNearestWithRoutingOptions

java.lang.Object
com.cercalia.sdk.model.poi.PoiNearestWithRoutingOptions

public final class PoiNearestWithRoutingOptions extends Object
Options for searching nearest POIs with routing distance/time calculation.
  • Method Details

    • getCategories

      @NotNull public @NotNull List<String> getCategories()
      Returns:
      The list of POI category codes to search for.
    • getWeight

      @NotNull public @NotNull PoiRouteWeight getWeight()
      Returns:
      The optimization weight criteria for routing.
    • getLimit

      @Nullable public @Nullable Integer getLimit()
      Returns:
      The maximum number of results to return.
    • getRadius

      @Nullable public @Nullable Integer getRadius()
      Returns:
      The search radius in meters.
    • getInverse

      @Nullable public @Nullable Integer getInverse()
      Returns:
      The inverse routing flag (0: from center to POIs, 1: from POIs to center).
    • getIncludeRealtime

      @Nullable public @Nullable Boolean getIncludeRealtime()
      Returns:
      Whether to include real-time traffic data in routing calculation.
    • getDepartureTime

      @Nullable public @Nullable String getDepartureTime()
      Returns:
      The departure time in YYYYMMDDHHmm format.
    • builder

      @NotNull public static @NotNull PoiNearestWithRoutingOptions.Builder builder()
      Returns:
      A new builder instance.