Class YMKPanoramaService

Instance Methods

- findNearestWithPosition:searchHandler:

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

- findNearestWithPosition:searchHandler:

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

Method Detail

-findNearestWithPosition:searchHandler:

- (nullable YMKPanoramaServiceSearchSession *)findNearestWithPosition:(nonnull YMKPoint *)position
                                                        searchHandler:(nullable 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.

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.