Package com.cercalia.sdk.model.proximity
Class ProximityItem
java.lang.Object
com.cercalia.sdk.model.proximity.ProximityItem
Represents a single item in proximity search results.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull ProximityItem.Builderbuilder()@Nullable String@NotNull CoordinategetCoord()int@Nullable PoiGeographicElementgetGe()@Nullable String@NotNull StringgetId()@Nullable StringgetInfo()@NotNull StringgetName()@Nullable Integer@Nullable Integer@Nullable Integer@Nullable Integer@Nullable Integer@Nullable StringtoString()
-
Method Details
-
getId
- Returns:
- Unique identifier for the item.
-
getName
- Returns:
- Name of the item.
-
getCoord
- Returns:
- Geographic coordinates of the item.
-
getDistance
public int getDistance()- Returns:
- Euclidean distance from the search center in meters.
-
getPosition
- Returns:
- Position of the item in the result list.
-
getCategoryCode
- Returns:
- Primary category code for the item.
-
getSubcategoryCode
- Returns:
- Subcategory code for the item.
-
getGeometry
- Returns:
- Geometry associated with the item in WKT format.
-
getInfo
- Returns:
- Additional information or description of the item.
-
getGe
- Returns:
- Geographic/administrative details for the item.
-
getRouteDistance
- Returns:
- Distance along the route in meters.
-
getRouteTime
- Returns:
- Travel time along the route in seconds.
-
getRouteRealtime
- Returns:
- Real-time travel time along the route in seconds.
-
getRouteWeight
- Returns:
- Weight value for the route calculation.
-
builder
- Returns:
- A new builder instance.
-
toString
-