Class YMKPanoramaService

The interface that handles panoramas.

Instance Methods

- findNearestWithPosition:searchHandler:

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

Method Detail

-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.