MMKPanoramaService

@interface MMKPanoramaService : NSObject

The interface that handles panoramas.

Summary

Instance methods

- (nonnull MMKPanoramaServiceSearchSession *)
    findNearestWithPosition:(nonnull MMKPoint *)position
              searchHandler:
                  (nonnull MMKPanoramaServiceSearchHandler)searchHandler;

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

Instance methods

findNearestWithPosition:searchHandler:

- (nonnull MMKPanoramaServiceSearchSession *)
    findNearestWithPosition:(nonnull MMKPoint *)position
              searchHandler:
                  (nonnull MMKPanoramaServiceSearchHandler)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.