Warning

This feature is available in the Full MapKit SDK version

YMKSearch

@interface YMKSearch : NSObject

Undocumented

Summary

Instance methods

- (nonnull YMKSearchLayer *)createSearchLayerWithMapWindow:
    (nonnull YMKMapWindow *)mapWindow;

Gets the search_layer object

- (nonnull YMKSearchManager *)createSearchManagerWithSearchManagerType:
    (YMKSearchManagerType)searchManagerType;

Creates a manager that allows to search for various geographical objects using a variety of parameters

Properties

@property (nonatomic, readonly, getter=isValid) BOOL valid;
Tells if this object is valid or no

Instance methods

createSearchLayerWithMapWindow:

- (nonnull YMKSearchLayer *)createSearchLayerWithMapWindow:
    (nonnull YMKMapWindow *)mapWindow;

Gets the search_layer object.


createSearchManagerWithSearchManagerType:

- (nonnull YMKSearchManager *)createSearchManagerWithSearchManagerType:
    (YMKSearchManagerType)searchManagerType;

Creates a manager that allows to search for various geographical objects using a variety of parameters.


Properties

valid

@property (nonatomic, readonly, getter=isValid) BOOL valid;

Tells if this object is valid or no. Any method called on an invalid object will throw an exception. The object becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.