Warning

This feature is available in the Full MapKit SDK version

YMKSearchSnippet

struct YMKSearchSnippet : OptionSet, @unchecked Sendable

Requested snippets bitmask.

Snippets are additional pieces of information (possibly from different services) which are not directly stored in object metadata but may be requested separately based on client needs.

Different snippets are applicable to different objects: some of the snippets can be provided only for toponyms, some for businesses and some for all object types.

Summary

Enum cases

static var photosYMKSearchSnippet { get }
Related photos snippet (can be requested for a business or toponym)

static var panoramasYMKSearchSnippet { get }
Nearest panoramas to this point

Enum cases

photos

static var photos: YMKSearchSnippet { get }

Related photos snippet (can be requested for a business or toponym). See YMKSearchBusinessPhotoObjectMetadata.


panoramas

static var panoramas: YMKSearchSnippet { get }

Nearest panoramas to this point. See YMKSearchPanoramasObjectMetadata.