Class IsochroneResult

java.lang.Object
com.cercalia.sdk.model.isochrone.IsochroneResult

public final class IsochroneResult extends Object
Result of an isochrone calculation.
  • Method Details

    • getWkt

      @NotNull public @NotNull String getWkt()
      Returns:
      WKT geometry of the isochrone polygon.
    • getCenter

      @NotNull public @NotNull Coordinate getCenter()
      Returns:
      Center coordinate of the isochrone.
    • getValue

      public int getValue()
      Returns:
      Value used for calculation (minutes for time, meters for distance).
    • getWeight

      @NotNull public @NotNull IsochroneWeight getWeight()
      Returns:
      Weight type used for the calculation.
    • getLevel

      @NotNull public @NotNull String getLevel()
      Returns:
      Level value returned by Cercalia API.
    • builder

      @NotNull public static @NotNull IsochroneResult.Builder builder()
      Returns:
      A new builder for IsochroneResult.