MapKit Mobile SDK

MMKPanoramaService

class MMKPanoramaService : NSObject

The interface that handles panoramas.

Summary

Instance methods

func findNearest(withPosition position: MMKPoint,
                         searchHandler: @escaping MMKPanoramaServiceSearchHandler) -> MMKPanoramaServiceSearchSession
Requests the ID of the panorama that is closest to the specified position

Instance methods

findNearest(withPosition:searchHandler:)

func findNearest(withPosition position: MMKPoint,
                         searchHandler: @escaping MMKPanoramaServiceSearchHandler) -> MMKPanoramaServiceSearchSession

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.