Warning

This feature is available in the Full MapKit SDK version

MMKSearchSortOrigin

enum MMKSearchSortOrigin : NSUInteger {}

Sort origin types when results are ordered by distance (see MMKSearchSortType).

Summary

Enum cases

MMKSearchSortOriginUser
Sort origin is a user position

MMKSearchSortOriginQuery
Sort origin is a toponym extracted from the user query

MMKSearchSortOriginRequest
Sort origin is directly specified by client

Enum cases

MMKSearchSortOriginUser

MMKSearchSortOriginUser

Sort origin is a user position. User position can be set via {link SearchOptions}.


MMKSearchSortOriginQuery

MMKSearchSortOriginQuery

Sort origin is a toponym extracted from the user query. For example this type can be set for queries like "cafe near Central Park".


MMKSearchSortOriginRequest

MMKSearchSortOriginRequest

Sort origin is directly specified by client. This type can be set for sessions with {link search.Session#setSortByDistance(const mapkit.geometry.Geometry)} called.