Warning

This feature is available in the Full MapKit SDK version

YMKSearchDisplayType

enum YMKSearchDisplayType : UInt, @unchecked Sendable

Result display type.

Summary

Enum cases

case single = 0
Each result makes sense without the others (that is toponyms), they probably shouldn'be displayed as a group, and probably there's no need to make additional requests after user moves the map or zooms in or out

case multiple = 1
Results are meaningful as a group (that is category query), they should be displayed all together, and it makes sense to send additional requests after user changes visible map region

Enum cases

single

case single = 0

Each result makes sense without the others (that is toponyms), they probably shouldn'be displayed as a group, and probably there's no need to make additional requests after user moves the map or zooms in or out.


multiple

case multiple = 1

Results are meaningful as a group (that is category query), they should be displayed all together, and it makes sense to send additional requests after user changes visible map region.