YMKPanoramaChangeDelegate

Warning

This feature is available in the Full MapKit SDK version

@protocol YMKPanoramaChangeDelegate <NSObject>

Listener to handle the panorama being opened or changed.

Summary

Instance methods

- (void)onPanoramaChangedWithPlayer:(nonnull YMKPanoramaPlayer *)player;
Called if the panorama was opened or changed by the user

Instance methods

onPanoramaChangedWithPlayer:

- (void)onPanoramaChangedWithPlayer:(nonnull YMKPanoramaPlayer *)player;

Called if the panorama was opened or changed by the user. You can get the panoramaId by using the panoramaId() method.

Parameters

player

Panorama player that sent the event.