Warning
This feature is available in the Full MapKit SDK version
MMKSearchSortOrigin
enum MMKSearchSortOrigin : UInt, @unchecked Sendable |
Sort origin types when results are ordered by distance (see MMKSearchSortType).
Summary
Enum cases
case user = 0 |
case query = 1 |
case request = 2 |
Enum cases
user
case user = 0 |
Sort origin is a user position. User position can be set via {link SearchOptions}.
query
case query = 1 |
Sort origin is a toponym extracted from the user query. For example this type can be set for queries like "cafe near Central Park".
request
case request = 2 |
Sort origin is directly specified by client. This type can be set for sessions with {link search.Session#setSortByDistance(const mapkit.geometry.Geometry)} called.