PanoramaChangeListener typedef

PanoramaChangeListener = void Function(StreetViewPanoramaLocation? location, Exception? e)

Callback that receiving last panorama location and information near panoramas.

The callback receive StreetViewPanoramaLocation while the panorama of the platform street view was changed.

This is set at FlutterGoogleStreetView.onPanoramaChangeListener. location, Current location of this panorama. e, panorama changing fail if not null.

Implementation

typedef PanoramaChangeListener = void Function(
    StreetViewPanoramaLocation? location, Exception? e);