Важно

This feature is available in the Full MapKit SDK version

YMKPanoramaService

class YMKPanoramaService : NSObject

The interface that handles panoramas.

Summary

Instance methods

func findNearest(withPosition position: YMKPoint,
                         searchHandler: @escaping YMKPanoramaServiceSearchHandler) -> YMKPanoramaServiceSearchSession
Requests the ID of the panorama that is closest to the specified position

Instance methods

findNearest(withPosition:searchHandler:)

func findNearest(withPosition position: YMKPoint,
                         searchHandler: @escaping YMKPanoramaServiceSearchHandler) -> YMKPanoramaServiceSearchSession

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.


Предыдущая