Interface PanoramaService

com.yandex.mapkit.places.panorama

public interface PanoramaService

The interface that handles panoramas.

Nested Classes

Methods

SearchSession findNearest(@NonNull Point position, @NonNull SearchListener searchListener)

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

Method Detail

findNearest

public SearchSession findNearest (@NonNull Point position, @NonNull SearchListener searchListener)

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.