Warning

This feature is available in the Full MapKit version

YMKPanoramaService

@interface YMKPanoramaService : NSObject

The interface that handles panoramas.

Summary

Instance methods

- (nonnull YMKPanoramaServiceSearchSession *)
    findNearestWithPosition:(nonnull YMKPoint *)position
              searchHandler:
                  (nonnull YMKPanoramaServiceSearchHandler)searchHandler;

Requests the ID of the panorama that is closest to the specified position

Instance methods

findNearestWithPosition:searchHandler:

- (nonnull YMKPanoramaServiceSearchSession *)
    findNearestWithPosition:(nonnull YMKPoint *)position
              searchHandler:
                  (nonnull YMKPanoramaServiceSearchHandler)searchHandler;

Requests the ID of the panorama that is closest to the specified position.

Parameters

position

Position to find the nearest panoramaId to.

searchListener

Receives the panorama search result.

Returns

Session handle that should be stored until searchListener is
notified.