The Yandex.Maps API allows you to display Yandex panoramas on website pages.
The panorama is implemented by Panorama. This object contains the necessary information about the panorama: its name, geographical coordinates,connections to linked panoramas, and so on.
The panorama.Player object (the player) is used for adding a panorama to a page. The player forms requests for tiles and creates the <canvas> element on the page for displaying the panorama. To insert a panorama on the page, just pass the player constructor the panorama object (Panorama).
You can use the panorama.locate function to get the panorama object. As input it is passed the geographical coordinates of the point to get a panorama for. The function returns an array of panoramas found in the vicinity of this point. The panoramas in the array are sorted by distance from the point.
You can also use the panorama.createPlayer function for adding panoramas to a web page. For input, it takes the coordinates of the point where a panorama should be opened. The function searches for the nearest panorama and, if successful, it creates a panorama player with the found panorama.