Enum SortOrigin

com.yandex.mapkit.search

public enum SortOrigin

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

Fields

QUERY

Sort origin is a toponym extracted from the user query.

REQUEST

Sort origin is directly specified by client.

USER

Sort origin is a user position.

Field Detail

QUERY

public

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

public

Sort origin is directly specified by client.

This type can be set for sessions with Session#setSortByDistance(Geometry) called.

USER

public

Sort origin is a user position.

User position can be set via SearchOptions.