Interface PanoramaService

Warning

This feature is available in the Full MapKit SDK version

Package com.yandex.mapkit.places.panorama

interface PanoramaService

The interface that handles panoramas.

Summary

Methods

Type and modifiers

Method and Description

SearchSession

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

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

Methods

findNearest

@NonNull
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.